]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
uae_quit() so that also d3d11 fullscreen mode closes properly.
authorToni Wilen <twilen@winuae.net>
Tue, 20 Feb 2018 18:44:31 +0000 (20:44 +0200)
committerToni Wilen <twilen@winuae.net>
Tue, 20 Feb 2018 18:44:31 +0000 (20:44 +0200)
od-win32/win32.cpp

index bddcf0192136d3219c77b7500b84032602ddc425..5c06079764c22bad7f6400b3ede95d6527c26b71 100644 (file)
@@ -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;