From 604862b20bd716b65ab93ad39ffcecec91c092ae Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 2 Jun 2016 22:36:52 -0400 Subject: [PATCH] Fixed playfield/missile and playfield/ball collisions. --- Machines/Atari2600/Atari2600.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Atari2600/Atari2600.cpp b/Machines/Atari2600/Atari2600.cpp index 3271da44b..e479780f5 100644 --- a/Machines/Atari2600/Atari2600.cpp +++ b/Machines/Atari2600/Atari2600.cpp @@ -267,7 +267,7 @@ void Machine::setup_reported_collisions() _reportedCollisions[c][7] |= ((playerPixels[0] & playerPixels[1]) << 7); } - if(_playfieldOutput | ballPixel) { + if(playfieldPixel | ballPixel) { _reportedCollisions[c][4] |= ((playfieldPixel & missilePixels[0]) << 7) | ((ballPixel & missilePixels[0]) << 6); _reportedCollisions[c][5] |= ((playfieldPixel & missilePixels[1]) << 7) | ((ballPixel & missilePixels[1]) << 6);