mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 18:30:21 +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:
parent
21abf4e9fc
commit
4f5f191cd6
@ -534,6 +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_);
|
||||||
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_)
|
||||||
|
Loading…
Reference in New Issue
Block a user