1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-26 04:32:35 +01:00

osk: Fixup attempt for hang in close callback where a sysutil_callback fails to fire.

This commit is contained in:
kd-11 2019-02-01 12:50:45 +03:00 committed by kd-11
parent b36cb66129
commit 27af05da1a

View File

@ -9,14 +9,10 @@ namespace rsx
{
if (on_osk_close)
{
if (ok)
Emu.CallAfter([this, ok]()
{
on_osk_close(CELL_MSGDIALOG_BUTTON_OK);
}
else
{
on_osk_close(CELL_MSGDIALOG_BUTTON_ESCAPE);
}
on_osk_close(ok ? CELL_MSGDIALOG_BUTTON_OK : CELL_MSGDIALOG_BUTTON_ESCAPE);
});
}
m_visible = false;