mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-14 04:28:42 +00:00
Move to PSPMSgDialog
This commit is contained in:
parent
90e3f20752
commit
4c4d7c7a14
@ -290,8 +290,13 @@ int PSPMsgDialog::Update(int animSpeed)
|
||||
|
||||
int PSPMsgDialog::Abort()
|
||||
{
|
||||
status = SCE_UTILITY_STATUS_FINISHED;
|
||||
//Fix Katekyoushi Hitman Reborn! Battle Arena
|
||||
if (status == SCE_UTILITY_STATUS_NONE)
|
||||
return SCE_ERROR_UTILITY_INVALID_STATUS;
|
||||
else {
|
||||
status = SCE_UTILITY_STATUS_FINISHED;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
int PSPMsgDialog::Shutdown(bool force)
|
||||
|
@ -312,13 +312,9 @@ int sceUtilityMsgDialogAbort()
|
||||
WARN_LOG(SCEUTILITY, "sceUtilityMsgDialogAbort(): wrong dialog type");
|
||||
return SCE_ERROR_UTILITY_WRONG_TYPE;
|
||||
}
|
||||
//Fix Katekyoushi Hitman Reborn! Battle Arena
|
||||
int status = msgDialog.GetStatus();
|
||||
DEBUG_LOG(SCEUTILITY, "sceUtilityMsgDialogAbort() status %08x",status);
|
||||
if (status == 4)
|
||||
return SCE_ERROR_UTILITY_INVALID_STATUS;
|
||||
else
|
||||
return msgDialog.Abort();
|
||||
|
||||
DEBUG_LOG(SCEUTILITY, "sceUtilityMsgDialogAbort()");
|
||||
return msgDialog.Abort();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user