mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
cellMsgDialog: fix error spam on CELL_OK
This commit is contained in:
parent
cc430769c6
commit
59e0296281
2 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
|
|
@ -872,7 +872,7 @@ namespace rsx
|
|||
taskbar_index = index;
|
||||
}
|
||||
|
||||
s32 progress_bar_set_message(u32 index, const std::string& msg)
|
||||
error_code progress_bar_set_message(u32 index, const std::string& msg)
|
||||
{
|
||||
if (index >= num_progress_bars)
|
||||
return CELL_MSGDIALOG_ERROR_PARAM;
|
||||
|
@ -885,7 +885,7 @@ namespace rsx
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 progress_bar_increment(u32 index, f32 value)
|
||||
error_code progress_bar_increment(u32 index, f32 value)
|
||||
{
|
||||
if (index >= num_progress_bars)
|
||||
return CELL_MSGDIALOG_ERROR_PARAM;
|
||||
|
@ -901,7 +901,7 @@ namespace rsx
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 progress_bar_reset(u32 index)
|
||||
error_code progress_bar_reset(u32 index)
|
||||
{
|
||||
if (index >= num_progress_bars)
|
||||
return CELL_MSGDIALOG_ERROR_PARAM;
|
||||
|
@ -916,7 +916,7 @@ namespace rsx
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 progress_bar_set_limit(u32 index, u32 limit)
|
||||
error_code progress_bar_set_limit(u32 index, u32 limit)
|
||||
{
|
||||
if (index >= num_progress_bars)
|
||||
return CELL_MSGDIALOG_ERROR_PARAM;
|
||||
|
|
Loading…
Add table
Reference in a new issue