mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
DoState.
This commit is contained in:
parent
7832cebacd
commit
5ef34e37b4
1 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue