mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-16 16:21:02 +00:00
Another little bug
This commit is contained in:
parent
30d7fcd288
commit
47ee010b64
@ -127,11 +127,18 @@ int cellMsgDialogOpen2(u32 type, vm::ptr<const char> msgString, vm::ptr<CellMsgD
|
|||||||
if (callback && (g_msg_dialog_state != msgDialogAbort))
|
if (callback && (g_msg_dialog_state != msgDialogAbort))
|
||||||
callback.async((s32)status, userData); // TODO: this callback should be registered
|
callback.async((s32)status, userData); // TODO: this callback should be registered
|
||||||
|
|
||||||
CallAfter([]()
|
CallAfter([&m_signal]()
|
||||||
{
|
{
|
||||||
MsgDialogDestroy();
|
MsgDialogDestroy();
|
||||||
|
|
||||||
|
m_signal = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
while (m_signal)
|
||||||
|
{
|
||||||
|
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||||
|
}
|
||||||
|
|
||||||
g_msg_dialog_state = msgDialogNone;
|
g_msg_dialog_state = msgDialogNone;
|
||||||
});
|
});
|
||||||
t.detach();
|
t.detach();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user