Merge pull request #46 from krofna

This commit is contained in:
Alexandro Sánchez Bach 2014-02-21 17:13:57 +01:00
parent 17b877e448
commit e7a721a1fb
15 changed files with 60 additions and 18 deletions

View file

@ -44,7 +44,7 @@ int cellPngDecOpen(u32 mainHandle, mem32_t subHandle, mem_ptr_t<CellPngDecSrc> s
// Get size of file
MemoryAllocator<CellFsStat> sb; // Alloc a CellFsStat struct
ret = cellFsFstat(current_subHandle->fd, sb);
ret = cellFsFstat(current_subHandle->fd, sb.GetAddr());
if(ret != CELL_OK) return ret;
current_subHandle->fileSize = sb->st_size; // Get CellFsStat.st_size
break;