summaryrefslogtreecommitdiff
path: root/Source/Plugins
diff options
context:
space:
mode:
authorXTra.KrazzY <XTra.KrazzY@gmail.com>2009-03-07 23:34:16 +0000
committerXTra.KrazzY <XTra.KrazzY@gmail.com>2009-03-07 23:34:16 +0000
commitc674e6330fb780df8e4e4d795085eff346ebe5f2 (patch)
tree0c29cf0daf4ed82dde65ed91f159d75b78fafa08 /Source/Plugins
parent044637218eaa59fdff2e7e0b3df48d89d1309cae (diff)
Allow for self shutdown from video plugins.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2611 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins')
-rw-r--r--Source/Plugins/Plugin_VideoDX9/Src/EmuWindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_VideoDX9/Src/EmuWindow.cpp b/Source/Plugins/Plugin_VideoDX9/Src/EmuWindow.cpp
index f9495cea44..4f36f675fb 100644
--- a/Source/Plugins/Plugin_VideoDX9/Src/EmuWindow.cpp
+++ b/Source/Plugins/Plugin_VideoDX9/Src/EmuWindow.cpp
@@ -5,6 +5,7 @@
#include "Config.h"
#include "main.h"
#include "EmuWindow.h"
+#include "Fifo.h"
namespace EmuWindow
{
@@ -52,6 +53,7 @@ namespace EmuWindow
break;
case WM_CLOSE:
+ Fifo_ExitLoopNonBlocking();
Shutdown();
// Simple hack to easily exit without stopping. Hope to fix the stopping errors soon.
ExitProcess(0);