mirror of
https://github.com/jscrane/r65emu.git
synced 2024-12-26 14:29:31 +00:00
map missing colours
This commit is contained in:
parent
9fac3649dc
commit
d19c2ad395
@ -30,13 +30,15 @@ static fabgl::Canvas canvas(&vga);
|
|||||||
static const fabgl::RGB888 rgb(colour_t c) {
|
static const fabgl::RGB888 rgb(colour_t c) {
|
||||||
switch(c) {
|
switch(c) {
|
||||||
case BLACK: return Color::Black;
|
case BLACK: return Color::Black;
|
||||||
case WHITE: return Color::White;
|
case RED: return Color::Red;
|
||||||
case GREEN: return Color::Green;
|
case GREEN: return Color::Green;
|
||||||
case YELLOW: return Color::Yellow;
|
case YELLOW: return Color::Yellow;
|
||||||
case BLUE: return Color::Blue;
|
case BLUE: return Color::Blue;
|
||||||
case MAGENTA: return Color::Magenta;
|
case MAGENTA: return Color::Magenta;
|
||||||
case CYAN: return Color::Cyan;
|
case CYAN: return Color::Cyan;
|
||||||
|
case WHITE: return Color::White;
|
||||||
}
|
}
|
||||||
|
return Color::BrightWhite;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user