From 253dd84109357c63df05da17a5a9198d85fb908e Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 17 Nov 2019 18:32:22 -0500 Subject: [PATCH] Corrects accidental dropping of pixel residue. Specific issue: the repeated (start_column != end_column) test, which can no longer be correct if start_column has been incremented in the (x_&7) test. The visible effect was to omit pixels from the output wave, which also affected observed sync timing. --- Machines/Atari/ST/Video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Atari/ST/Video.cpp b/Machines/Atari/ST/Video.cpp index 4a975c622..0b23eb34c 100644 --- a/Machines/Atari/ST/Video.cpp +++ b/Machines/Atari/ST/Video.cpp @@ -171,7 +171,7 @@ void Video::run_for(HalfCycles duration) { } // Output the start of the next column, if necessary. - if(start_column != end_column && (x_ + run_length) & 7) { + if((x_ + run_length) & 7) { shifter_.output_pixels((x_ + run_length) & 7, output_bpp_); } }