Fixes: cellMsgDialog, cellPad

This commit is contained in:
Jake 2017-03-11 01:13:53 -06:00
parent a6f8e4f6b3
commit 309f409554
2 changed files with 2 additions and 5 deletions

View file

@ -269,7 +269,7 @@ s32 cellMsgDialogProgressBarSetMsg(u32 progressBarIndex, vm::cptr<char> msgStrin
return CELL_MSGDIALOG_ERROR_DIALOG_NOT_OPENED;
}
if (progressBarIndex >= dlg->type.progress_bar_count)
if (progressBarIndex >= dlg->type.progress_bar_count || !msgString)
{
return CELL_MSGDIALOG_ERROR_PARAM;
}