Fixed a stupid error left by me.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4860 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
ayuanx
2010-01-16 22:37:38 +00:00
parent 4aeec95513
commit 734b0f5dd4
4 changed files with 9 additions and 4 deletions

View File

@ -97,6 +97,10 @@ void Fifo_ExitLoop()
// Created to allow for self shutdown.
void Fifo_ExitLoopNonBlocking()
{
// This should break the wait loop in CPU thread
CommandProcessor::fifo.bFF_GPReadEnable = false;
CommandProcessor::SetFifoIdleFromVideoPlugin();
// Terminate GPU thread loop
fifoStateRun = false;
fifo_run_event.Set();
}