1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-27 06:35:04 +00:00

Merge pull request #482 from TomHarte/PixelCapture

Ensures the pixel collection test is inline with other decisions.
This commit is contained in:
Thomas Harte 2018-06-23 16:19:04 -04:00 committed by GitHub
commit 6e96275e1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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