From f9c220bee0639a4904321c8d7439a3e1f3ffaf16 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 4 Jan 2025 07:15:20 -0500 Subject: [PATCH] Progress shifter outside of painted pixels. --- Machines/Commodore/Plus4/Video.hpp | 5 +++-- .../xcshareddata/xcschemes/Clock Signal.xcscheme | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Machines/Commodore/Plus4/Video.hpp b/Machines/Commodore/Plus4/Video.hpp index 5b70b659a..9db25c799 100644 --- a/Machines/Commodore/Plus4/Video.hpp +++ b/Machines/Commodore/Plus4/Video.hpp @@ -285,6 +285,8 @@ public: output_state_ = state; if(output_state_ == OutputState::Pixels) { pixels_ = reinterpret_cast(crt_.begin_data(PixelAllocationSize)); + } else { + pixels_ = nullptr; } } @@ -394,8 +396,7 @@ public: if(increment_character_position_ && character_fetch_) { ++character_position_; } - - if(state == OutputState::Pixels) { + if(enable_display_) { switch(x_scroll_) { case 0: draw<0>(); break; case 1: draw<1>(); break; diff --git a/OSBindings/Mac/Clock Signal.xcodeproj/xcshareddata/xcschemes/Clock Signal.xcscheme b/OSBindings/Mac/Clock Signal.xcodeproj/xcshareddata/xcschemes/Clock Signal.xcscheme index 2f418ee7d..47d733bb8 100644 --- a/OSBindings/Mac/Clock Signal.xcodeproj/xcshareddata/xcschemes/Clock Signal.xcscheme +++ b/OSBindings/Mac/Clock Signal.xcodeproj/xcshareddata/xcschemes/Clock Signal.xcscheme @@ -62,7 +62,7 @@