From af86b10fb18679ebeb76f3e89113c015dc6d2198 Mon Sep 17 00:00:00 2001 From: Atari260STE Date: Fri, 24 May 2019 00:43:06 +0200 Subject: [PATCH 1/2] fixed STEP command --- handy-win32src-0.95-patched/gui-windows/Debuggerwin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handy-win32src-0.95-patched/gui-windows/Debuggerwin.cpp b/handy-win32src-0.95-patched/gui-windows/Debuggerwin.cpp index 54e51ca..b85a362 100644 --- a/handy-win32src-0.95-patched/gui-windows/Debuggerwin.cpp +++ b/handy-win32src-0.95-patched/gui-windows/Debuggerwin.cpp @@ -615,6 +615,7 @@ bool CDebuggerWin::CommandStep(int argc, char **argv) else { LineOutput("Invalid PC, must be in range 0-ffff"); + return false; } } else @@ -622,7 +623,7 @@ bool CDebuggerWin::CommandStep(int argc, char **argv) gSystemHalt=FALSE; // Make sure we run always gSingleStepMode=TRUE; // Go for it.... } - return false; + return true; } bool CDebuggerWin::CommandBpoint(int argc, char **argv) From 2b016a765453873d3d1a941cb46ffde2fd2daa96 Mon Sep 17 00:00:00 2001 From: Atari260STE Date: Sat, 25 May 2019 02:40:45 +0200 Subject: [PATCH 2/2] fixed adding/removing breakpoints with mouse double click in Debugger's Code windows --- handy-win32src-0.95-patched/gui-windows/Codewin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/handy-win32src-0.95-patched/gui-windows/Codewin.cpp b/handy-win32src-0.95-patched/gui-windows/Codewin.cpp index 8a7908a..b8cf655 100644 --- a/handy-win32src-0.95-patched/gui-windows/Codewin.cpp +++ b/handy-win32src-0.95-patched/gui-windows/Codewin.cpp @@ -483,16 +483,16 @@ void CCodeWin::OnLButtonDblClk(UINT nFlags, CPoint point) C6502_REGS regs; mSystem.GetRegs(regs); - for(int loop=0;loop=MAX_CPU_BREAKPOINTS) { // New breakpoint at next free - for(int loop=0;loop0xffff) break;