Check version in each DoState() func.
They bail on PointerWrap error or bad version.
This commit is contained in:
parent
d2f2f8d7ad
commit
50e9e45d65
66 changed files with 527 additions and 167 deletions
|
@ -100,12 +100,15 @@ void __UpdateApctlHandlers(int oldState, int newState, int flag, int error) {
|
|||
|
||||
// This feels like a dubious proposition, mostly...
|
||||
void __NetDoState(PointerWrap &p) {
|
||||
auto s = p.Section("sceNet", 1);
|
||||
if (!s)
|
||||
return;
|
||||
|
||||
p.Do(netInited);
|
||||
p.Do(netInetInited);
|
||||
p.Do(netApctlInited);
|
||||
p.Do(apctlHandlers);
|
||||
p.Do(netMallocStat);
|
||||
p.DoMarker("net");
|
||||
}
|
||||
|
||||
// TODO: should that struct actually be initialized here?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue