cellOskDialogAbort: always send finished event
No idea if this is really correct, but it fixes the PS-Home OSK dialog freeze.
This commit is contained in:
@@ -524,14 +524,12 @@ error_code cellOskDialogAbort()
|
|||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (result != CELL_OK)
|
if (result == CELL_OK)
|
||||||
{
|
{
|
||||||
return result;
|
osk->osk_input_result = CELL_OSKDIALOG_INPUT_FIELD_RESULT_ABORT;
|
||||||
|
osk->Close(FAKE_CELL_OSKDIALOG_CLOSE_ABORT);
|
||||||
}
|
}
|
||||||
|
|
||||||
osk->osk_input_result = CELL_OSKDIALOG_INPUT_FIELD_RESULT_ABORT;
|
|
||||||
osk->Close(FAKE_CELL_OSKDIALOG_CLOSE_ABORT);
|
|
||||||
|
|
||||||
g_fxo->get<osk_info>().last_dialog_state = CELL_SYSUTIL_OSKDIALOG_FINISHED;
|
g_fxo->get<osk_info>().last_dialog_state = CELL_SYSUTIL_OSKDIALOG_FINISHED;
|
||||||
sysutil_send_system_cmd(CELL_SYSUTIL_OSKDIALOG_FINISHED, 0);
|
sysutil_send_system_cmd(CELL_SYSUTIL_OSKDIALOG_FINISHED, 0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user