mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Allow for self shutdown from video plugins.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2611 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user