mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-06 04:35:29 +02:00
Net: Fix memory corruption on save old state.
Can't restore these if they're not inited either.
This commit is contained in:
+3
-1
@@ -244,7 +244,9 @@ void __NetDoState(PointerWrap &p) {
|
||||
Do(p, netApctlState);
|
||||
Do(p, netApctlInfo);
|
||||
Do(p, actionAfterApctlMipsCall);
|
||||
__KernelRestoreActionType(actionAfterApctlMipsCall, AfterApctlMipsCall::Create);
|
||||
if (actionAfterApctlMipsCall != -1) {
|
||||
__KernelRestoreActionType(actionAfterApctlMipsCall, AfterApctlMipsCall::Create);
|
||||
}
|
||||
Do(p, apctlThreadHackAddr);
|
||||
Do(p, apctlThreadID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user