small fix `listbreaks` for single bank ROMs

This commit is contained in:
Thomas Jentzsch 2019-08-24 12:21:17 +02:00
parent 5042c4635f
commit bd3545bfff
1 changed files with 1 additions and 1 deletions

View File

@ -1451,7 +1451,7 @@ void DebuggerParser::executeListbreaks()
{ {
if(debugger.breakPoints().check(addr, bank)) if(debugger.breakPoints().check(addr, bank))
{ {
if(!bankCount) if(bankCount == 1)
{ {
buf << debugger.cartDebug().getLabel(addr, true, 4) << " "; buf << debugger.cartDebug().getLabel(addr, true, 4) << " ";
if(!(++count % 8)) buf << endl; if(!(++count % 8)) buf << endl;