mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +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:
parent
9d07765823
commit
253dd84109
@ -171,7 +171,7 @@ void Video::run_for(HalfCycles duration) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Output the start of the next column, if necessary.
|
// 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_);
|
shifter_.output_pixels((x_ + run_length) & 7, output_bpp_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user