mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Check version in each DoState() func.
They bail on PointerWrap error or bad version.
This commit is contained in:
1 parent
d2f2f8d7ad
commit
50e9e45d65
66 files changed
+527
-167
No files matched your search
@@ -66,6 +66,10 @@ namespace SaveState
|
||||
|
||||
void SaveStart::DoState(PointerWrap &p)
|
||||
{
|
||||
auto s = p.Section("SaveStart", 1);
|
||||
if (!s)
|
||||
return;
|
||||
|
||||
// Gotta do CoreTiming first since we'll restore into it.
|
||||
CoreTiming::DoState(p);
|
||||
|
||||
|
||||
Reference in new issue
Block a user