1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-10 00:29:40 +00:00

Merge pull request #1442 from TomHarte/38columns

Progress shifter outside of painted pixels.
This commit is contained in:
Thomas Harte 2025-01-04 07:20:56 -05:00 committed by GitHub
commit 03d3efa323
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -285,6 +285,8 @@ public:
output_state_ = state;
if(output_state_ == OutputState::Pixels) {
pixels_ = reinterpret_cast<uint16_t *>(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;

View File

@ -62,7 +62,7 @@
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Release"
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
enableASanStackUseAfterReturn = "YES"