From bd3545bfff86af423609c58b7b3aba6a6a40777c Mon Sep 17 00:00:00 2001 From: Thomas Jentzsch Date: Sat, 24 Aug 2019 12:21:17 +0200 Subject: [PATCH] small fix `listbreaks` for single bank ROMs --- src/debugger/DebuggerParser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debugger/DebuggerParser.cxx b/src/debugger/DebuggerParser.cxx index fb29f3da7..1f4797a10 100644 --- a/src/debugger/DebuggerParser.cxx +++ b/src/debugger/DebuggerParser.cxx @@ -1451,7 +1451,7 @@ void DebuggerParser::executeListbreaks() { if(debugger.breakPoints().check(addr, bank)) { - if(!bankCount) + if(bankCount == 1) { buf << debugger.cartDebug().getLabel(addr, true, 4) << " "; if(!(++count % 8)) buf << endl;