From 174ed12a92c43ad4aca6d8da7e307622dc1ed298 Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Fri, 25 Oct 2002 15:15:17 +0000 Subject: [PATCH] Added ShutDown call for debugger Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@410 --- src/gui/sdlmain.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index b9b75098..0cab3716 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -29,7 +29,7 @@ #include "pic.h" #include "timer.h" #include "setup.h" - +#include "debug.h" //#define DISABLE_JOYSTICK @@ -567,5 +567,9 @@ int main(int argc, char* argv[]) { LOG_ERROR("Exit to error: %s",error); fgetc(stdin); } +#if C_DEBUG + DEBUG_ShutDown(); +#endif + return 0; };