mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-09 22:18:58 +01:00
Fix bug 11920
DSP LLE Interpreter does not have a DSP thread, so trying to wait would hang. (DSP LLE recompiler also has no thread when in determinism mode).
This commit is contained in:
parent
d8d620ef0e
commit
d3dc81ba74
@ -343,9 +343,12 @@ void DSPLLE::PauseAndLock(bool do_lock, bool unpause_on_unlock)
|
||||
{
|
||||
m_dsp_thread_mutex.unlock();
|
||||
|
||||
// Signal the DSP thread so it can perform any outstanding work now (if any)
|
||||
s_ppc_event.Wait();
|
||||
s_dsp_event.Set();
|
||||
if (m_is_dsp_on_thread)
|
||||
{
|
||||
// Signal the DSP thread so it can perform any outstanding work now (if any)
|
||||
s_ppc_event.Wait();
|
||||
s_dsp_event.Set();
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace DSP::LLE
|
||||
|
Loading…
x
Reference in New Issue
Block a user