mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07: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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user