add gba RR check for software cyan cut
This commit is contained in:
1 parent
8867dc959e
commit
72c05fae77
1 file changed
+9
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user