From a6a270a2d3f843ec3f18f48101a5f3d7c560acc9 Mon Sep 17 00:00:00 2001 From: mpohoreski Date: Mon, 27 Feb 2006 03:37:56 +0000 Subject: [PATCH] Replaced Debugger Magic Number with DEBUG_EXIT_KEY --- AppleWin/source/Frame.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/AppleWin/source/Frame.cpp b/AppleWin/source/Frame.cpp index b879516b..e22b32a4 100644 --- a/AppleWin/source/Frame.cpp +++ b/AppleWin/source/Frame.cpp @@ -589,8 +589,7 @@ LRESULT CALLBACK FrameWndProc (HWND window, SoundCore_SetFade(FADE_IN); break; case MODE_STEPPING: -// DebugProcessChar(TEXT('\x1B')); - DebuggerInputConsoleChar( TEXT('\x1B') ); // HACK: MAGIC # + DebuggerInputConsoleChar( DEBUG_EXIT_KEY ); break; } DrawStatusArea((HDC)0,DRAW_TITLE); @@ -889,8 +888,7 @@ void ProcessButtonClick (int button) { if (mode == MODE_LOGO) ResetMachineState(); if (mode == MODE_STEPPING) -// DebugProcessChar(TEXT('\x1B')); - DebuggerInputConsoleChar( TEXT('\x1B') ); // HACK: MAGIC # + DebuggerInputConsoleChar( DEBUG_EXIT_KEY ); else if (mode == MODE_DEBUG) ProcessButtonClick(BTN_RUN); else {