1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Withdraws border optimisation temporarily; I think I may be onto an output bug here.

This commit is contained in:
Thomas Harte 2019-11-12 19:33:13 -05:00
parent f0478225f0
commit 6a82c87320

View File

@ -378,13 +378,13 @@ void Video::Shifter::flush_output(OutputMode next_mode) {
case OutputMode::Sync: crt_.output_sync(duration_); break;
case OutputMode::Blank: crt_.output_blank(duration_); break;
case OutputMode::Border: {
if(!border_colour_) {
crt_.output_blank(duration_);
} else {
// if(!border_colour_) {
// crt_.output_blank(duration_);
// } else {
uint16_t *const colour_pointer = reinterpret_cast<uint16_t *>(crt_.begin_data(1));
if(colour_pointer) *colour_pointer = border_colour_;
crt_.output_level(duration_);
}
// }
} break;
case OutputMode::Pixels: {
crt_.output_data(duration_, pixel_pointer_);