mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-04 11:56:48 +01:00
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)
|
while (fifoStateRun)
|
||||||
{
|
{
|
||||||
if (!CommandProcessor::RunBuffer())
|
g_VideoInitialize.pPeekMessages();
|
||||||
|
if (!CommandProcessor::RunBuffer()) {
|
||||||
Common::SleepCurrentThread(1);
|
Common::SleepCurrentThread(1);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Video_ExitLoop()
|
void Video_ExitLoop()
|
||||||
{
|
{
|
||||||
|
fifoStateRun = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Video_AddMessage(const char* pstr, u32 milliseconds)
|
void Video_AddMessage(const char* pstr, u32 milliseconds)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user