DS GX: Fix incorrect W values
Vicki Pfau vi@endrift.com
Mon, 17 Jul 2017 15:21:59 -0700
2 files changed,
2 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -9,6 +9,7 @@ - DS GX: Fixed viewport calculations (fixes mgba.io/i/709)
- DS Video: Fix display capture blending value 16 (fixes mgba.io/i/757) - DS GX: Properly center cross product in polygon normal calculations - DS Video: Fix affine parameter advancing (fixes mgba.io/i/802) + - DS GX: Fix incorrect W values Misc: - DS GX: Clean up and unify texture mapping - DS Core: Add symbol loading
M
src/ds/gx.c
→
src/ds/gx.c
@@ -408,7 +408,7 @@ sum += a * b;
a = col[12]; b = MTX_ONE; sum += a * b; - return sum >> 8LL; + return sum >> 12LL; } static int16_t _dotTexture(struct DSGX* gx, int16_t* input, int mode, int c) {