From 4dc036fe215819c8edd3bf84cde5721ed958fff1 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 30 Apr 2017 15:19:18 -0700 Subject: [PATCH] DS GX: Fix toon shading alpha --- 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 6876358bb..ef62be465 100644 --- a/src/ds/gx/software.c +++ b/src/ds/gx/software.c @@ -271,7 +271,7 @@ static color_t _lookupColor(struct DSGXSoftwareRenderer* renderer, struct DSGXSo wg = ((g + 1) * (tg + 1) - 1) >> 6; wb = ((b + 1) * (tb + 1) - 1) >> 6; wa = ((ta + 1) * (pa + 1) - 1) >> 6; - return _finishColor(wr, wg, wb, pa); + return _finishColor(wr, wg, wb, wa); } case 3: return _finishColor(r, g, b, pa);