Fix savestate.

This commit is contained in:
shenweip committed 2014-01-15 00:32:14 +08:00
1 parent 4af78a3164
commit 1fc52a321d
1 file changed
+3 -2
+3 -2
View File
@@ -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);