Make sure that the video software backend doesn't get stuck in an infinite loop on shutdown.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7364 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
aabb542d47
commit
cab5fdb44b
|
@ -180,7 +180,7 @@ void VideoSoftware::Video_EnterLoop()
|
||||||
|
|
||||||
if (!emuRunningState)
|
if (!emuRunningState)
|
||||||
{
|
{
|
||||||
while (!emuRunningState)
|
while (!emuRunningState && fifoStateRun)
|
||||||
{
|
{
|
||||||
g_video_backend->PeekMessages();
|
g_video_backend->PeekMessages();
|
||||||
Common::SleepCurrentThread(1);
|
Common::SleepCurrentThread(1);
|
||||||
|
|
Loading…
Reference in New Issue