1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 17:16:44 +00:00

Eliminate common black border -> blank mapping.

Will move this inside the CRT.
This commit is contained in:
Thomas Harte
2025-10-07 22:10:14 -04:00
parent da96df7df7
commit d3ee778265
4 changed files with 5 additions and 38 deletions
+1 -7
View File
@@ -683,13 +683,7 @@ void Base<personality>::output_border(int cycles, [[maybe_unused]] const uint32_
return;
}
// If the border colour is 0, that can be communicated
// more efficiently as an explicit blank.
if(border_colour) {
crt_.output_level<uint32_t>(cycles, border_colour);
} else {
crt_.output_blank(cycles);
}
crt_.output_level<uint32_t>(cycles, border_colour);
}
// MARK: - External interface.