cellMsgDialog: fix error spam on CELL_OK

This commit is contained in:
Nekotekina 2019-01-18 16:36:25 +03:00
parent cc430769c6
commit 59e0296281
2 changed files with 5 additions and 5 deletions

View file

@ -341,7 +341,7 @@ error_code cellMsgDialogOpenSimulViewWarning(vm::ptr<CellMsgDialogCallback> call
{
cellSysutil.todo("cellMsgDialogOpenSimulViewWarning(callback=*0x%x, userData=*0x%x, extParam=*0x%x)", callback, userData, extParam);
s32 ret = cellMsgDialogOpen2(CELL_MSGDIALOG_TYPE_SE_TYPE_NORMAL | CELL_MSGDIALOG_TYPE_BUTTON_TYPE_OK, vm::make_str("SimulView Warning"), callback, userData, extParam);
error_code ret = cellMsgDialogOpen2(CELL_MSGDIALOG_TYPE_SE_TYPE_NORMAL | CELL_MSGDIALOG_TYPE_BUTTON_TYPE_OK, vm::make_str("SimulView Warning"), callback, userData, extParam);
// The dialog should ideally only be closeable by pressing ok after 3 seconds until it closes itself automatically after 5 seconds
if (ret == CELL_OK)