1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

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.
This commit is contained in:
Thomas Harte 2019-11-17 18:32:22 -05:00
parent 9d07765823
commit 253dd84109

View File

@ -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_);
}
}