fixed deleting/toggling existing 'breakif' and 'savestateif'

This commit is contained in:
thrust26 2017-12-18 12:33:17 +01:00
parent 47ef41f09a
commit 7819d07623
2 changed files with 4 additions and 2 deletions

View File

@ -756,6 +756,7 @@ void DebuggerParser::executeBreakif()
{
if(condition == debugger.m6502().getCondBreakNames()[i])
{
args[0] = i;
executeDelbreakif();
return;
}
@ -1830,6 +1831,7 @@ void DebuggerParser::executeSavestateif()
{
if(condition == debugger.m6502().getCondSaveStateNames()[i])
{
args[0] = i;
executeDelsavestateif();
return;
}

View File

@ -319,7 +319,7 @@ void TabWidget::drawWidget(bool hilite)
if(i == _activeTab)
{
s.hLine(x, _y, x + _tabWidth - 1, kWidColor);
s.vLine(x + _tabWidth, _y + 1, _y + _tabHeight - 1, kBGColorHi);
s.vLine(x + _tabWidth, _y + 1, _y + _tabHeight - 1, kBGColorLo);
}
else
s.hLine(x, _y + _tabHeight, x + _tabWidth, kWidColor);
@ -338,7 +338,7 @@ void TabWidget::drawWidget(bool hilite)
#else
// fill empty right space
s.hLine(x - kTabSpacing + 1, _y + _tabHeight, _x + _w - 1, kWidColor);
s.hLine(_x, _y + _h - 1, _x + _w - 1, kBGColorHi);
s.hLine(_x, _y + _h - 1, _x + _w - 1, kBGColorLo);
#endif
}