From 14bc2ea2dde9302abc9e5853cd1146973f23b5fa Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Tue, 20 Feb 2018 20:44:31 +0200 Subject: [PATCH] uae_quit() so that also d3d11 fullscreen mode closes properly. --- od-win32/win32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/od-win32/win32.cpp b/od-win32/win32.cpp index bddcf019..5c060797 100644 --- a/od-win32/win32.cpp +++ b/od-win32/win32.cpp @@ -2069,7 +2069,7 @@ static LRESULT CALLBACK AmigaWindowProc (HWND hWnd, UINT message, WPARAM wParam, case SC_RESTORE: break; case SC_CLOSE: - PostQuitMessage(0); + uae_quit(); break; } return lr; -- 2.47.3