mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Fix savestate.
This commit is contained in:
1 parent
4af78a3164
commit
1fc52a321d
1 file changed
+3
-2
@@ -336,7 +336,7 @@ void __MpegInit() {
|
||||
}
|
||||
|
||||
void __MpegDoState(PointerWrap &p) {
|
||||
auto s = p.Section("sceMpeg", 1);
|
||||
auto s = p.Section("sceMpeg", 1, 2);
|
||||
if (!s)
|
||||
return;
|
||||
|
||||
@@ -345,7 +345,8 @@ void __MpegDoState(PointerWrap &p) {
|
||||
p.Do(isCurrentMpegAnalyzed);
|
||||
p.Do(isMpegInit);
|
||||
p.Do(actionPostPut);
|
||||
p.Do(RegisteredMpeg);
|
||||
if (s >= 2)
|
||||
p.Do(RegisteredMpeg);
|
||||
__KernelRestoreActionType(actionPostPut, PostPutAction::Create);
|
||||
|
||||
p.Do(mpegMap);
|
||||
|
||||
Reference in new issue
Block a user