mirror of https://github.com/stella-emu/stella.git
Fix cursor in frame preview.
This commit is contained in:
parent
d819f9c7b8
commit
d6fbc23b60
|
@ -759,7 +759,9 @@ void TIA::enableColorLoss(bool enabled)
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
bool TIA::electronBeamPos(uInt32& x, uInt32& y) const
|
bool TIA::electronBeamPos(uInt32& x, uInt32& y) const
|
||||||
{
|
{
|
||||||
x = clocksThisLine();
|
uInt8 clocks = clocksThisLine();
|
||||||
|
|
||||||
|
x = clocks < 68 ? 0 : clocks - 68;
|
||||||
y = myFrameManager.getY();
|
y = myFrameManager.getY();
|
||||||
|
|
||||||
return isRendering();
|
return isRendering();
|
||||||
|
|
Loading…
Reference in New Issue