mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
The total size of umd0: is in blocks.
Therefore sceIoLseek(umd0:, 0, 2) should return the number of blocks, not the number of bytes, in the iso. Looks like this may help Zero no Kiseki.
This commit is contained in:
parent
4d7b652f4f
commit
bc7bc87941
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ ISOFileSystem::ISOFileSystem(IHandleAllocator *_hAlloc, BlockDevice *_blockDevic
|
|||
entireISO.name = "";
|
||||
entireISO.isDirectory = false;
|
||||
entireISO.startingPosition = 0;
|
||||
entireISO.size = _blockDevice->GetNumBlocks() * _blockDevice->GetBlockSize();
|
||||
entireISO.size = _blockDevice->GetNumBlocks();
|
||||
entireISO.flags = 0;
|
||||
entireISO.parent = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue