Fixed DX9 window close shutdown.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2569 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-03-06 17:01:27 +00:00
parent e8556a5391
commit 658679876e
1 changed files with 3 additions and 1 deletions

View File

@ -52,7 +52,9 @@ namespace EmuWindow
break;
case WM_CLOSE:
exit(0);
Shutdown();
// Simple hack to easily exit without stopping. Hope to fix the stopping errors soon.
ExitProcess(0);
return 0;
case WM_DESTROY: