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

Ensures the pixel collection test is inline with other decisions.

This commit is contained in:
Thomas Harte 2018-06-23 16:18:33 -04:00
parent 370952ab33
commit 9968342a11

View File

@ -242,7 +242,7 @@ class CRTCBusHandler {
cycles_++; cycles_++;
// collect some more pixels if output is ongoing // collect some more pixels if output is ongoing
if(!is_sync && state.display_enable) { if(previous_output_mode_ == OutputMode::Pixels) {
if(!pixel_data_) { if(!pixel_data_) {
pixel_pointer_ = pixel_data_ = crt_->allocate_write_area(320, 8); pixel_pointer_ = pixel_data_ = crt_->allocate_write_area(320, 8);
} }