cellUserInfo: fix potentially locked user dialogs

This commit is contained in:
Megamouse 2023-01-14 00:15:40 +01:00
parent b3a9c8d83f
commit 450a64b58b

View file

@ -159,6 +159,7 @@ error_code cellUserInfoSelectUser_ListType(vm::ptr<CellUserInfoTypeSet> listType
if (s32 ret = sysutil_send_system_cmd(CELL_SYSUTIL_DRAWING_BEGIN, 0); ret < 0) if (s32 ret = sysutil_send_system_cmd(CELL_SYSUTIL_DRAWING_BEGIN, 0); ret < 0)
{ {
g_fxo->get<user_info_manager>().dialog_opened = false;
return CELL_USERINFO_ERROR_BUSY; return CELL_USERINFO_ERROR_BUSY;
} }
@ -267,6 +268,7 @@ error_code cellUserInfoSelectUser_SetList(vm::ptr<CellUserInfoListSet> setList,
if (s32 ret = sysutil_send_system_cmd(CELL_SYSUTIL_DRAWING_BEGIN, 0); ret < 0) if (s32 ret = sysutil_send_system_cmd(CELL_SYSUTIL_DRAWING_BEGIN, 0); ret < 0)
{ {
g_fxo->get<user_info_manager>().dialog_opened = false;
return CELL_USERINFO_ERROR_BUSY; return CELL_USERINFO_ERROR_BUSY;
} }