Fix cursor in frame preview.

This commit is contained in:
Christian Speckner 2017-03-29 17:46:25 +02:00
parent d819f9c7b8
commit d6fbc23b60
1 changed files with 3 additions and 1 deletions

View File

@ -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();