summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2011-03-17 01:42:13 +0000
committerGlenn Rice <glennricster@gmail.com>2011-03-17 01:42:13 +0000
commitcab5fdb44b47bb35c6a34cf14d7e84d2f6ebad0a (patch)
tree2dc7292f5bb1109d0ef8a4dde396e4a6008faceb /Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp
parentaabb542d474b4a92099aebceccc95bb47f66de9b (diff)
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
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp2
1 files changed, 1 insertions, 1 deletions
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);