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:
Glenn Rice 2011-03-17 01:42:13 +00:00
parent aabb542d47
commit cab5fdb44b
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ void VideoSoftware::Video_EnterLoop()
if (!emuRunningState)
{
while (!emuRunningState)
while (!emuRunningState && fifoStateRun)
{
g_video_backend->PeekMessages();
Common::SleepCurrentThread(1);