Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #8736 from Pokechu22/dsp-lle-no-thread-hang
Fix bug 11920
  • Loading branch information
lioncash committed Apr 10, 2020
2 parents d8d620e + d3dc81b commit 013e052
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Source/Core/Core/HW/DSPLLE/DSPLLE.cpp
Expand Up @@ -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

0 comments on commit 013e052

Please sign in to comment.