From b79176a854fa39fc87b948caeef538107d0ceb10 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Mon, 2 Jun 2025 07:47:58 +1000 Subject: [PATCH] Fix --- src/Graphics_Dreamcast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Graphics_Dreamcast.c b/src/Graphics_Dreamcast.c index afdfd50c2..d431b408b 100644 --- a/src/Graphics_Dreamcast.c +++ b/src/Graphics_Dreamcast.c @@ -650,7 +650,7 @@ static CC_INLINE void ConvertTexture_Palette(cc_uint16* dst, struct Bitmap* bmp, int pal_01 = FindInPalette2(palette, pal_count, next[0]); int pal_11 = FindInPalette2(palette, pal_count, next[1]); - dst[X | Y] = pal_00 | (pal_01 << 4) | (pal_11 << 8) | (pal_11 << 12); + dst[X | Y] = pal_00 | (pal_01 << 4) | (pal_10 << 8) | (pal_11 << 12); X = (X - maskX) & maskX; }