DS GX: Fix A*I* textures being transparent when I is 0
Vicki Pfau vi@endrift.com
Mon, 13 Mar 2017 15:25:06 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/ds/gx/software.c
→
src/ds/gx/software.c
@@ -228,7 +228,7 @@ if (b) {
texel = _mixTexels(a, texel, b, texel2); } } else { - if (DSGXTexParamsIs0Transparent(poly->poly->texParams) && !texel) { + if (poly->texFormat < 5 && poly->texFormat > 1 && DSGXTexParamsIs0Transparent(poly->poly->texParams) && !texel) { return 0; } texel = poly->palBase[texel];