From 9a3ccda025a22eb4a39aec3c9f06aeb95723161c Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 6 Nov 2002 14:26:10 +0000 Subject: [PATCH] friendlier when an E_Exit is done Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@484 --- src/gui/sdlmain.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index 0644ce7c..fc73a858 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -569,6 +569,7 @@ int main(int argc, char* argv[]) { /* Shutdown everything */ } catch (char * error) { if (sdl.full_screen) SwitchFullScreen(); + if (sdl.mouse.locked) CaptureMouse(); LOG_MSG("Exit to error: %sPress enter to continue.",error); fgetc(stdin); }