From f1d0fac4ef16997844997207f26d365eab757763 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 6 Nov 2002 11:11:47 +0000 Subject: [PATCH] fixed bug #629219 Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@483 --- src/gui/sdlmain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index 7da7a2df..0644ce7c 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -568,8 +568,10 @@ int main(int argc, char* argv[]) { control->StartUp(); /* Shutdown everything */ } catch (char * error) { + if (sdl.full_screen) SwitchFullScreen(); LOG_MSG("Exit to error: %sPress enter to continue.",error); fgetc(stdin); } + GFX_ShutDown(); return 0; };