mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12:00
osk: Fixup attempt for hang in close callback where a sysutil_callback fails to fire.
This commit is contained in:
parent
b36cb66129
commit
27af05da1a
1 changed files with 3 additions and 7 deletions
|
@ -9,14 +9,10 @@ namespace rsx
|
||||||
{
|
{
|
||||||
if (on_osk_close)
|
if (on_osk_close)
|
||||||
{
|
{
|
||||||
if (ok)
|
Emu.CallAfter([this, ok]()
|
||||||
{
|
{
|
||||||
on_osk_close(CELL_MSGDIALOG_BUTTON_OK);
|
on_osk_close(ok ? CELL_MSGDIALOG_BUTTON_OK : CELL_MSGDIALOG_BUTTON_ESCAPE);
|
||||||
}
|
});
|
||||||
else
|
|
||||||
{
|
|
||||||
on_osk_close(CELL_MSGDIALOG_BUTTON_ESCAPE);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_visible = false;
|
m_visible = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue