1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-30 04:50:08 +00:00

Use paletted Yamaha border colour.

This commit is contained in:
Thomas Harte 2023-01-27 22:42:02 -05:00
parent 95e00dd958
commit 7e69e33ec2

View File

@ -544,6 +544,8 @@ void Base<personality>::output_border(int cycles, [[maybe_unused]] uint32_t cram
crt_.output_level(4); crt_.output_level(4);
cycles -= 4; cycles -= 4;
} }
} else if constexpr (is_yamaha_vdp(personality)) {
border_colour = Storage<personality>::palette_[background_colour_];
} else { } else {
border_colour = palette[background_colour_]; border_colour = palette[background_colour_];
} }