mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-25 00:22:10 +00:00
Add a TODO (handling corrupt CSO data)
This commit is contained in:
parent
b462120ee4
commit
272f0b8c70
@ -239,7 +239,7 @@ bool CISOFileBlockDevice::ReadBlock(int blockNumber, u8 *outPtr)
|
||||
{
|
||||
ERROR_LOG(LOADER, "block %d:inflate : %s[%d]\n", blockNumber, (z.msg) ? z.msg : "error", status);
|
||||
inflateEnd(&z);
|
||||
return 1;
|
||||
return 1; // TODO: This seems like the wrong return value? Surely we are screwed here (corrupt CSO) ?
|
||||
}
|
||||
int cmp_size = blockSize - z.avail_out;
|
||||
if (cmp_size != (int)blockSize)
|
||||
|
Loading…
x
Reference in New Issue
Block a user