Fix small RSYNC regression.

This commit is contained in:
Christian Speckner 2017-02-22 01:27:16 +01:00
parent b173da05a0
commit 41ec98c6c1
1 changed files with 3 additions and 4 deletions

View File

@ -945,14 +945,13 @@ void TIA::applyRsync()
{
const uInt32 x = myHctr > 68 ? myHctr - 68 : 0;
if (myFrameManager.isRendering()) {
myXDelta = 157 - x;
myXDelta = 157 - x;
if (myFrameManager.isRendering())
memset(myCurrentFrameBuffer.get() + myFrameManager.getY() * 160 + x, 0, 160 - x);
}
myLinesSinceChange = 0;
myHctr = 225;
myHstate = HState::frame;
//myHstate = HState::frame;
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -