cellMsgDialogAbort: don't call on_close and properly re-enable pads

This commit is contained in:
Megamouse 2019-06-01 09:46:45 +02:00
parent 8dafc8e542
commit 3f00b485a0
3 changed files with 7 additions and 5 deletions

View file

@ -389,7 +389,7 @@ error_code cellMsgDialogAbort()
{
if (auto dlg = manager->get<rsx::overlays::message_dialog>())
{
dlg->close();
dlg->close(false);
return CELL_OK;
}
}
@ -406,7 +406,9 @@ error_code cellMsgDialogAbort()
return CELL_SYSUTIL_ERROR_BUSY;
}
verify(HERE), fxm::remove<MsgDialogBase>();
verify(HERE), fxm::remove<MsgDialogBase>(); // this shouldn't call on_close
pad::SetIntercepted(false); // so we need to reenable the pads here
return CELL_OK;
}