mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Loading a savestate crashed with active mipscalls.
This commit is contained in:
parent
fcdaf3c9c4
commit
d1c2d5ddc4
2 changed files with 11 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue