mirror of https://github.com/stella-emu/stella.git
refactoring the fix
This commit is contained in:
parent
7259af1583
commit
81cdbe832e
|
@ -182,9 +182,7 @@ void TiaOutputWidget::drawWidget(bool hilite)
|
|||
s.drawPixels(myLineBuffer, _x + 1, _y + 1 + y, width << 1);
|
||||
}
|
||||
|
||||
uInt32 beamColor = kColorInfo;
|
||||
|
||||
// Show electron beam position
|
||||
if(visible && scanx < width && scany+2u < height)
|
||||
s.fillRect(_x + 1 + (scanx<<1), _y + 1 + scany, 3, 3, beamColor);
|
||||
s.fillRect(_x + 1 + (scanx<<1), _y + 1 + scany, 3, 3, kColorInfo);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue