Net: Fix memory corruption on save old state.
Can't restore these if they're not inited either.
This commit is contained in:
parent
b5712efdfb
commit
fcaef648ec
3 changed files with 10 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue