This commit is contained in:
shenweip 2013-11-24 16:46:06 +08:00 committed by Henrik Rydgård
parent 7832cebacd
commit 5ef34e37b4

View file

@ -68,7 +68,7 @@ void __UmdInit()
void __UmdDoState(PointerWrap &p)
{
auto s = p.Section("sceUmd", 1);
auto s = p.Section("sceUmd", 1, 2);
if (!s)
return;
@ -82,6 +82,9 @@ void __UmdDoState(PointerWrap &p)
CoreTiming::RestoreRegisterEvent(umdStatChangeEvent, "UmdChange", __UmdStatChange);
p.Do(umdWaitingThreads);
p.Do(umdPausedWaits);
if (s > 1)
p.Do(UMDReplacePermit);
}
u8 __KernelUmdGetState()