1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-30 04:50:08 +00:00

Fixed: will no longer attempt to output pixels from before the pixel part of a line on which sync was disabled abruptly.

This commit is contained in:
Thomas Harte 2017-02-22 07:33:36 -05:00
parent 21abf4e9fc
commit 4f5f191cd6

View File

@ -534,6 +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_);
int target_position = start - pixels_start_location_;
if(start < first_pixel_cycle+8 && horizontal_blank_extend_)