mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-02-19 04:30:46 +00:00
Replaced Debugger Magic Number with DEBUG_EXIT_KEY
This commit is contained in:
parent
77bf241350
commit
a6a270a2d3
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user