1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Correct condition for Zelda monochrome buffer.

Fixed Pokemon Puzzle League: missing graphics in game (regression) #1588
This commit is contained in:
Sergey Lipskiy 2017-10-11 15:06:32 +07:00
parent 7d22828193
commit 977fddf3ea

View File

@ -203,7 +203,10 @@ public:
nFbFixedAlpha0 = 1;
} else if (gSP.textureTile[0]->size == G_IM_SIZ_16b && gSP.textureTile[0]->format == G_IM_FMT_IA) {
nFbMonochromeMode0 = 2;
} else if (cache.current[0]->size == G_IM_SIZ_16b && gSP.textureTile[0]->size == G_IM_SIZ_8b && gSP.textureTile[0]->format == G_IM_FMT_CI) {
} else if ((config.generalEmulation.hacks & hack_ZeldaMM) != 0 &&
cache.current[0]->size == G_IM_SIZ_16b &&
gSP.textureTile[0]->size == G_IM_SIZ_8b &&
gSP.textureTile[0]->format == G_IM_FMT_CI) {
// Zelda monochrome effect
nFbMonochromeMode0 = 3;
nFbMonochromeMode1 = 3;