From fa960bec55daae3e81054ce79b01bfb709280b02 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 14 Sep 2021 15:35:40 +0200 Subject: [PATCH] Changed the F82C425's colors so that the darker ones are more blue, like on the real V86P. --- src/video/vid_f82c425.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/video/vid_f82c425.c b/src/video/vid_f82c425.c index a9d2f14ba..e2f2f0677 100644 --- a/src/video/vid_f82c425.c +++ b/src/video/vid_f82c425.c @@ -144,7 +144,11 @@ static inline uint32_t f82c425_makecol(uint8_t rgbi, int gs4, int inv) } c = 0x10 * gs4 * ((rgbi >> gs4) + 2); +#ifdef NO_BLUE return makecol(c, c + 0x08, c - 0x20); +#else + return makecol(c, c + 0x08, 0x70); +#endif } /* Saturating/non-saturating addition for SMARTMAP(see below). */