mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Add better savestate error handling.
Aborts when it can't load.
This commit is contained in:
1 parent
117ffaeb60
commit
fe97fd6fc5
7 files changed
+37
-8
No files matched your search
@@ -227,6 +227,7 @@ void __InterruptsDoState(PointerWrap &p)
|
||||
p.Do(numInterrupts);
|
||||
if (numInterrupts != PSP_NUMBER_INTERRUPTS)
|
||||
{
|
||||
p.SetError(p.ERROR_FAILURE);
|
||||
ERROR_LOG(HLE, "Savestate failure: wrong number of interrupts, can't load.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user