Loading a savestate crashed with active mipscalls.

This commit is contained in:
Unknown W. Brackets 2013-02-02 18:46:23 -08:00
parent fcdaf3c9c4
commit d1c2d5ddc4
2 changed files with 11 additions and 1 deletions

View file

@ -231,12 +231,17 @@ private:
class ActionAfterMipsCall : public Action
{
ActionAfterMipsCall()
{
chainedAction = NULL;
}
public:
virtual void run(MipsCall &call);
static Action *Create()
{
return new ActionAfterMipsCall;
return new ActionAfterMipsCall();
}
virtual void DoState(PointerWrap &p)

View file

@ -208,6 +208,11 @@ int __KernelRegisterActionType(ActionCreator creator);
void __KernelRestoreActionType(int actionType, ActionCreator creator);
struct MipsCall {
MipsCall()
{
doAfter = NULL;
}
u32 entryPoint;
u32 cbId;
u32 args[6];