1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

This should be the other way around. I want whichever is later.

This commit is contained in:
Thomas Harte 2017-02-22 21:54:49 -05:00
parent 2f0c923c29
commit 82f392fada

View File

@ -534,7 +534,7 @@ void TIA::output_for_cycles(int number_of_cycles)
void TIA::output_pixels(int start, int end) 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_; int target_position = start - pixels_start_location_;
if(start < first_pixel_cycle+8 && horizontal_blank_extend_) if(start < first_pixel_cycle+8 && horizontal_blank_extend_)