From 79e0a0da49c24c166792285baea795edd232a4f5 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 5 Mar 2017 15:30:21 -0800 Subject: [PATCH] DS GX: Fix alpha knocking out depth --- 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 03dc66d95..10fb923f9 100644 --- a/src/ds/gx/software.c +++ b/src/ds/gx/software.c @@ -532,7 +532,7 @@ static void DSGXSoftwareRendererDrawScanline(struct DSGXRenderer* renderer, int _lerpEndpoint(span, &ep, x); color_t color = _lookupColor(softwareRenderer, &ep, span->poly); unsigned a = color >> 27; - if (a == 0x1F || !(scanline[x] & 0xF8000000)) { + if (a == 0x1F) { if (softwareRenderer->wSort) { if (ep.w < softwareRenderer->depthBuffer[x]) { softwareRenderer->depthBuffer[x] = ep.w;