1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-20 10:17:05 +00:00

Correctly clear double-height flags.

This commit is contained in:
Thomas Harte
2025-09-25 13:28:22 -04:00
parent ef17d116a8
commit 2015c154fe
+4
View File
@@ -142,6 +142,9 @@ void SAA5050Serialiser::begin_frame(const bool is_odd) {
line_ = -2;
row_ = 0;
odd_frame_ = is_odd;
row_has_double_height_ = false;
double_height_offset_ = 0;
}
void SAA5050Serialiser::begin_line() {
@@ -153,6 +156,7 @@ void SAA5050Serialiser::begin_line() {
if(row_has_double_height_) {
double_height_offset_ = (double_height_offset_ + 5) % 10;
}
row_has_double_height_ = false;
}
output_.alpha = 0x7;