mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Small fix
This commit is contained in:
parent
10e9d383d4
commit
0df3e955c8
2 changed files with 17 additions and 4 deletions
|
|
@ -61,10 +61,16 @@ void CallbackManager::Init()
|
|||
m_cb_thread->SetEntry(cb_shit);
|
||||
m_cb_thread->SetPrio(1001); // ???
|
||||
m_cb_thread->SetStackSize(0x10000);
|
||||
m_cb_thread->Run();
|
||||
|
||||
thread cb_async_thread("CallbackManager::Async() thread", [this]()
|
||||
{
|
||||
while (Emu.IsReady())
|
||||
{
|
||||
m_cb_thread->WaitForAnySignal();
|
||||
}
|
||||
|
||||
m_cb_thread->Run();
|
||||
|
||||
SetCurrentNamedThread(m_cb_thread);
|
||||
|
||||
while (!Emu.IsStopped())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue