SaveState: Make sure to default init net data.

Otherwise, we may crash when loading a save state.
This commit is contained in:
Unknown W. Brackets 2020-06-29 19:37:55 -07:00
parent 19437227b3
commit 20dd7db351

View File

@ -778,11 +778,10 @@ public:
}
void run(MipsCall &call) override;
void SetContextID(u32 ContextID, u32 eventId);
void SetContext(SceNetAdhocMatchingContext *Context, u32 eventId) { context = Context; EventID = eventId; }
private:
u32 EventID;
SceNetAdhocMatchingContext *context;
u32 EventID = 0;
SceNetAdhocMatchingContext *context = nullptr;
};
extern int actionAfterMatchingMipsCall;