mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Also use output level for CRAM dots.
This commit is contained in:
parent
fc63fcb751
commit
017fd84f36
@ -667,14 +667,9 @@ void Base<personality>::output_border(int cycles, [[maybe_unused]] uint32_t cram
|
||||
border_colour = Storage<personality>::colour_ram_[16 + background_colour_];
|
||||
|
||||
if(cram_dot) {
|
||||
uint32_t *const pixel_target = reinterpret_cast<uint32_t *>(crt_.begin_data(1));
|
||||
if(pixel_target) {
|
||||
*pixel_target = border_colour | cram_dot;
|
||||
}
|
||||
|
||||
// Four CRT cycles is one pixel width, so this doesn't need clock conversion.
|
||||
// TODO: on the Mega Drive it may be only 3 colour cycles, depending on mode.
|
||||
crt_.output_level(4);
|
||||
crt_.output_level<uint32_t>(4, border_colour | cram_dot);
|
||||
cycles -= 4;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user