mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
Fix crash in Zip UI. Make another crash happen earlier.
This commit is contained in:
1 parent
ccf63ef544
commit
a461dbeecb
3 files changed
+9
-5
No files matched your search
+2
-2
@@ -630,9 +630,9 @@ namespace SaveState
|
||||
// Okay, first, let's give the rewind state a shot - maybe we can at least not reset entirely.
|
||||
// Even if this was a rewind, maybe we can still load a previous one.
|
||||
CChunkFileReader::Error result;
|
||||
do
|
||||
do {
|
||||
result = rewindStates.Restore();
|
||||
while (result == CChunkFileReader::ERROR_BROKEN_STATE);
|
||||
} while (result == CChunkFileReader::ERROR_BROKEN_STATE);
|
||||
|
||||
if (result == CChunkFileReader::ERROR_NONE) {
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user