all repos — mgba @ 91ab6b29f3e36bad6caa97ca80a3cd5c5906c490

mGBA Game Boy Advance Emulator

DS GX: Fix incorrect W values
Vicki Pfau vi@endrift.com
Mon, 17 Jul 2017 15:21:59 -0700
commit

91ab6b29f3e36bad6caa97ca80a3cd5c5906c490

parent

6509c4fffac8c593aa4515ab29b36b1ef6b26e3e

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.csrc/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) {