From aaa536d109d274de6af878a7cde6baf53a868be6 Mon Sep 17 00:00:00 2001 From: Derek Quenneville Date: Fri, 1 Dec 2023 11:45:56 -0500 Subject: [PATCH] Add "CGA mode 5"-style video palette --- src/sdl/video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sdl/video.c b/src/sdl/video.c index aaf6de7..48aa3a5 100644 --- a/src/sdl/video.c +++ b/src/sdl/video.c @@ -42,6 +42,8 @@ VideoPalette VideoPalettes[] = { {{0, 0, 0}, {0, 255, 255}, {255, 0, 255}, {255, 255, 255}}}, {"CGA 2", // CGA black, red, green, yellow {{0, 0, 0}, {0, 255, 0}, {255, 0, 0}, {255, 255, 0}}}, + {"CGA 3", // CGA black, cyan, red, white (aka CGA mode 5) + {{0, 0, 0}, {0, 255, 255}, {255, 0, 0}, {255, 255, 255}}}, {"Mono Amber", // Shades of amber from a monochrome CGA display {{0, 0, 0}, {255, 170, 16}, {242, 125, 0}, {255, 226, 52}}}, {"Mono Green", // Shades of green from a monochrome CGA display