Skip to content

Commit

Permalink
Fix bug 11920
Browse files Browse the repository at this point in the history
  • Loading branch information
Pokechu22 committed Apr 10, 2020
1 parent 6a0d8ed commit 36040ce
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Source/Core/Core/HW/DSPLLE/DSPLLE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,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 36040ce

Please sign in to comment.