mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Abort on a message dialog just moves to finished.
Still need to shutdown. Fixes #5177.
This commit is contained in:
parent
cddd537f36
commit
f74e29977f
2 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue