mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-29 00:33:01 +00:00
bugfix
This commit is contained in:
parent
5d951451c5
commit
c79b52b334
@ -34,21 +34,21 @@ void LogBase::LogOutput(LogType type, const u32 id, const char* info, const std:
|
||||
hle::error::error(s32 errorCode, const char* errorText)
|
||||
: code(errorCode)
|
||||
, base(nullptr)
|
||||
, text(errorText)
|
||||
, text(errorText ? errorText : "")
|
||||
{
|
||||
}
|
||||
|
||||
hle::error::error(s32 errorCode, const LogBase& errorBase, const char* errorText)
|
||||
: code(errorCode)
|
||||
, base(&errorBase)
|
||||
, text(errorText)
|
||||
, text(errorText ? errorText : "")
|
||||
{
|
||||
}
|
||||
|
||||
hle::error::error(s32 errorCode, const LogBase* errorBase, const char* errorText)
|
||||
: code(errorCode)
|
||||
, base(errorBase)
|
||||
, text(errorText)
|
||||
, text(errorText ? errorText : "")
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -127,19 +127,12 @@ int cellMsgDialogOpen2(u32 type, vm::ptr<const char> msgString, vm::ptr<CellMsgD
|
||||
if (callback && (g_msg_dialog_state != msgDialogAbort))
|
||||
callback.async((s32)status, userData); // TODO: this callback should be registered
|
||||
|
||||
CallAfter([&m_signal]()
|
||||
CallAfter([]()
|
||||
{
|
||||
MsgDialogDestroy();
|
||||
|
||||
m_signal = false;
|
||||
g_msg_dialog_state = msgDialogNone;
|
||||
});
|
||||
|
||||
while (m_signal)
|
||||
{
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
}
|
||||
|
||||
g_msg_dialog_state = msgDialogNone;
|
||||
});
|
||||
t.detach();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user