From 82f392fada274cf25502b8bc68715368320c2833 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 22 Feb 2017 21:54:49 -0500 Subject: [PATCH] This should be the other way around. I want whichever is later. --- Machines/Atari2600/TIA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Atari2600/TIA.cpp b/Machines/Atari2600/TIA.cpp index fb582ebf5..356e48116 100644 --- a/Machines/Atari2600/TIA.cpp +++ b/Machines/Atari2600/TIA.cpp @@ -534,7 +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_); + start = std::max(start, pixels_start_location_); int target_position = start - pixels_start_location_; if(start < first_pixel_cycle+8 && horizontal_blank_extend_)