SW GFX plugin: Make dualcore mode work better, and make it exit more cleanly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4412 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
a887a475e3
commit
489d7dfc3c
|
@ -159,13 +159,16 @@ void Video_EnterLoop()
|
|||
|
||||
while (fifoStateRun)
|
||||
{
|
||||
if (!CommandProcessor::RunBuffer())
|
||||
g_VideoInitialize.pPeekMessages();
|
||||
if (!CommandProcessor::RunBuffer()) {
|
||||
Common::SleepCurrentThread(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Video_ExitLoop()
|
||||
{
|
||||
fifoStateRun = false;
|
||||
}
|
||||
|
||||
void Video_AddMessage(const char* pstr, u32 milliseconds)
|
||||
|
|
Loading…
Reference in New Issue