From 4f5f191cd693918c0ab4a032677d5fdad864c505 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 22 Feb 2017 07:33:36 -0500 Subject: [PATCH] Fixed: will no longer attempt to output pixels from before the pixel part of a line on which sync was disabled abruptly. --- Machines/Atari2600/TIA.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Machines/Atari2600/TIA.cpp b/Machines/Atari2600/TIA.cpp index 6ec63b8db..fb582ebf5 100644 --- a/Machines/Atari2600/TIA.cpp +++ b/Machines/Atari2600/TIA.cpp @@ -534,6 +534,7 @@ void TIA::output_for_cycles(int number_of_cycles) void TIA::output_pixels(int start, int end) { + start = std::min(start, pixels_start_location_); int target_position = start - pixels_start_location_; if(start < first_pixel_cycle+8 && horizontal_blank_extend_)