DS GX: Fix toon shading alpha
Vicki Pfau vi@endrift.com
Sun, 30 Apr 2017 15:19:18 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/ds/gx/software.c
→
src/ds/gx/software.c
@@ -271,7 +271,7 @@ wr = ((r + 1) * (tr + 1) - 1) >> 6;
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);