From 09309aa74fdd31acab2dec519f3916aab67bbe7e Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 16 Feb 2017 18:52:39 -0500 Subject: [PATCH] Attempted to prevent extraneous moves. --- Machines/Atari2600/TIA.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Machines/Atari2600/TIA.cpp b/Machines/Atari2600/TIA.cpp index 8830208d8..a64915bf0 100644 --- a/Machines/Atari2600/TIA.cpp +++ b/Machines/Atari2600/TIA.cpp @@ -726,6 +726,7 @@ void TIA::draw_player(Player &player, CollisionType collision_identity, const in { movement_time -= first_pixel_cycle - 4; draw_player_visible(player, collision_identity, position_identity, start - first_pixel_cycle + 4, std::min(end - first_pixel_cycle + 4, 160), movement_time); + movement_time += first_pixel_cycle - 4; } // move further if required