mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-25 07:32:53 +00:00
Debugger: Don't 'eat' the next keypress when leaving the debugger via F7 (or clicking the Debugger button)
This commit is contained in:
parent
5ec9b4140b
commit
0257492209
@ -1886,6 +1886,7 @@ static void ProcessButtonClick(int button, bool bFromButtonUI /*=false*/)
|
|||||||
else if (g_nAppMode == MODE_DEBUG)
|
else if (g_nAppMode == MODE_DEBUG)
|
||||||
{
|
{
|
||||||
DebugExitDebugger(); // Exit debugger, switch to MODE_RUNNING or MODE_STEPPING
|
DebugExitDebugger(); // Exit debugger, switch to MODE_RUNNING or MODE_STEPPING
|
||||||
|
g_bDebuggerEatKey = false; // Don't "eat" the next keypress when leaving the debugger via F7 (or clicking the Debugger button)
|
||||||
}
|
}
|
||||||
else // MODE_RUNNING, MODE_LOGO, MODE_PAUSED
|
else // MODE_RUNNING, MODE_LOGO, MODE_PAUSED
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user