mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Kernel: Fix save states for volatile memory alloc.
This commit is contained in:
1 parent
640ff1cb22
commit
7580844ea5
1 file changed
+3
-2
@@ -459,13 +459,14 @@ void __KernelMemoryInit()
|
||||
|
||||
void __KernelMemoryDoState(PointerWrap &p)
|
||||
{
|
||||
auto s = p.Section("sceKernelMemory", 1, 2);
|
||||
auto s = p.Section("sceKernelMemory", 1, 3);
|
||||
if (!s)
|
||||
return;
|
||||
|
||||
kernelMemory.DoState(p);
|
||||
userMemory.DoState(p);
|
||||
volatileMemory.DoState(p);
|
||||
if (s >= 3)
|
||||
volatileMemory.DoState(p);
|
||||
|
||||
Do(p, vplWaitTimer);
|
||||
CoreTiming::RestoreRegisterEvent(vplWaitTimer, "VplTimeout", __KernelVplTimeout);
|
||||
|
||||
Reference in new issue
Block a user