mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-09-07 00:54:25 +00:00
Replaced Debugger Magic Number with DEBUG_EXIT_KEY
This commit is contained in:
parent
117a314315
commit
b2388f033c
@ -589,8 +589,7 @@ LRESULT CALLBACK FrameWndProc (HWND window,
|
|||||||
SoundCore_SetFade(FADE_IN);
|
SoundCore_SetFade(FADE_IN);
|
||||||
break;
|
break;
|
||||||
case MODE_STEPPING:
|
case MODE_STEPPING:
|
||||||
// DebugProcessChar(TEXT('\x1B'));
|
DebuggerInputConsoleChar( DEBUG_EXIT_KEY );
|
||||||
DebuggerInputConsoleChar( TEXT('\x1B') ); // HACK: MAGIC #
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
DrawStatusArea((HDC)0,DRAW_TITLE);
|
DrawStatusArea((HDC)0,DRAW_TITLE);
|
||||||
@ -889,8 +888,7 @@ void ProcessButtonClick (int button) {
|
|||||||
if (mode == MODE_LOGO)
|
if (mode == MODE_LOGO)
|
||||||
ResetMachineState();
|
ResetMachineState();
|
||||||
if (mode == MODE_STEPPING)
|
if (mode == MODE_STEPPING)
|
||||||
// DebugProcessChar(TEXT('\x1B'));
|
DebuggerInputConsoleChar( DEBUG_EXIT_KEY );
|
||||||
DebuggerInputConsoleChar( TEXT('\x1B') ); // HACK: MAGIC #
|
|
||||||
else if (mode == MODE_DEBUG)
|
else if (mode == MODE_DEBUG)
|
||||||
ProcessButtonClick(BTN_RUN);
|
ProcessButtonClick(BTN_RUN);
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user