Abort on a message dialog just moves to finished.

Still need to shutdown.  Fixes #5177.
This commit is contained in:
Unknown W. Brackets 2014-01-22 08:17:21 -08:00
parent cddd537f36
commit f74e29977f
2 changed files with 3 additions and 4 deletions

View file

@ -284,8 +284,8 @@ int PSPMsgDialog::Update(int animSpeed)
int PSPMsgDialog::Abort()
{
// TODO: Probably not exactly the same?
return PSPDialog::Shutdown();
status = SCE_UTILITY_STATUS_FINISHED;
return 0;
}
int PSPMsgDialog::Shutdown(bool force)

View file

@ -309,10 +309,9 @@ int sceUtilityMsgDialogAbort()
{
if (currentDialogType != UTILITY_DIALOG_MSG)
{
WARN_LOG(SCEUTILITY, "sceUtilityMsgDialogShutdownStart(): wrong dialog type");
WARN_LOG(SCEUTILITY, "sceUtilityMsgDialogAbort(): wrong dialog type");
return SCE_ERROR_UTILITY_WRONG_TYPE;
}
currentDialogActive = false;
DEBUG_LOG(SCEUTILITY, "sceUtilityMsgDialogAbort()");
return msgDialog.Abort();