Improve PF collision handling during hblank.

This commit is contained in:
Christian Speckner 2018-02-04 23:18:30 +01:00
parent 2bd0d05d44
commit ba549e1d8a
1 changed files with 3 additions and 0 deletions

View File

@ -1229,6 +1229,8 @@ void TIA::tickHblank()
if (myExtendedHblank) myHstate = HState::frame;
break;
}
if (myExtendedHblank && myHctr > 67) myPlayfield.tick(myHctr - 68 - myHctrDelta);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -1269,6 +1271,7 @@ void TIA::nextLine()
cloneLastLine();
}
myPlayfield.tick(0);
myHctr = 0;
if (!myMovementInProgress && myLinesSinceChange < 2) myLinesSinceChange++;