From be1c1445138b41da6cb4d79ed8e100c1c41bfe42 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Mon, 13 Mar 2017 15:25:06 -0700 Subject: [PATCH] DS GX: Fix A*I* textures being transparent when I is 0 --- src/ds/gx/software.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ds/gx/software.c b/src/ds/gx/software.c index a8b339e13..0008851c3 100644 --- a/src/ds/gx/software.c +++ b/src/ds/gx/software.c @@ -228,7 +228,7 @@ static color_t _lookupColor(struct DSGXSoftwareRenderer* renderer, struct DSGXSo 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];