Abort on a message dialog just moves to finished.

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

No files matched your search

+2 -2
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)
+1 -2
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();