Collisions are disabled during vblank.

This commit is contained in:
Christian Speckner 2017-09-17 01:35:01 +02:00
parent cfa40722b9
commit 8485b0820f
1 changed files with 2 additions and 0 deletions

View File

@ -1267,6 +1267,8 @@ void TIA::cloneLastLine()
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void TIA::updateCollision()
{
if (myFrameManager.vblank()) return;
myCollisionMask |= (
myPlayer0.collision &
myPlayer1.collision &