add gba RR check for software cyan cut

This commit is contained in:
Alug committed 2025-09-20 17:57:47 +02:00
1 parent 8867dc959e
commit 72c05fae77
1 file changed
+9
+9
View File
@@ -628,6 +628,15 @@ static void P_CheckCyanFlat(levelflat_t *levelflat)
if (rendermode != render_soft)
return;
const char *flatname = W_CheckNameForNum(levelflat->lumpnum);
// hack for gba rainbow roads cyan floors
if (UNLIKELY(memcmp(flatname, "GBA_RRF5", 8) == 0 && flatname[8] == 0))
{
levelflat->cyan = false;
return;
}
const UINT8 *flat = R_GetFlat(levelflat->lumpnum);
const size_t size = W_LumpLength(levelflat->lumpnum);