From cab5fdb44b47bb35c6a34cf14d7e84d2f6ebad0a Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Thu, 17 Mar 2011 01:42:13 +0000 Subject: [PATCH] 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 --- Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp index 8870aaac83..6d2a2723ff 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp +++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp @@ -180,7 +180,7 @@ void VideoSoftware::Video_EnterLoop() if (!emuRunningState) { - while (!emuRunningState) + while (!emuRunningState && fifoStateRun) { g_video_backend->PeekMessages(); Common::SleepCurrentThread(1);