mirror of https://github.com/stella-emu/stella.git
fixed deleting/toggling existing 'breakif' and 'savestateif'
This commit is contained in:
parent
47ef41f09a
commit
7819d07623
|
@ -756,6 +756,7 @@ void DebuggerParser::executeBreakif()
|
||||||
{
|
{
|
||||||
if(condition == debugger.m6502().getCondBreakNames()[i])
|
if(condition == debugger.m6502().getCondBreakNames()[i])
|
||||||
{
|
{
|
||||||
|
args[0] = i;
|
||||||
executeDelbreakif();
|
executeDelbreakif();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1830,6 +1831,7 @@ void DebuggerParser::executeSavestateif()
|
||||||
{
|
{
|
||||||
if(condition == debugger.m6502().getCondSaveStateNames()[i])
|
if(condition == debugger.m6502().getCondSaveStateNames()[i])
|
||||||
{
|
{
|
||||||
|
args[0] = i;
|
||||||
executeDelsavestateif();
|
executeDelsavestateif();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -319,7 +319,7 @@ void TabWidget::drawWidget(bool hilite)
|
||||||
if(i == _activeTab)
|
if(i == _activeTab)
|
||||||
{
|
{
|
||||||
s.hLine(x, _y, x + _tabWidth - 1, kWidColor);
|
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
|
else
|
||||||
s.hLine(x, _y + _tabHeight, x + _tabWidth, kWidColor);
|
s.hLine(x, _y + _tabHeight, x + _tabWidth, kWidColor);
|
||||||
|
@ -338,7 +338,7 @@ void TabWidget::drawWidget(bool hilite)
|
||||||
#else
|
#else
|
||||||
// fill empty right space
|
// fill empty right space
|
||||||
s.hLine(x - kTabSpacing + 1, _y + _tabHeight, _x + _w - 1, kWidColor);
|
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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue