all repos — mgba @ 69e289995bb8e46bf8afe6e7f9c62f2459ae2644

mGBA Game Boy Advance Emulator

Revert "DS GX: Fix incorrect W values"

This reverts commit 91ab6b29f3e36bad6caa97ca80a3cd5c5906c490.
Vicki Pfau vi@endrift.com
Sat, 18 Jul 2020 16:12:12 -0700
commit

69e289995bb8e46bf8afe6e7f9c62f2459ae2644

parent

a8272480c144264bec8db8589e9129bb3feb41d5

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

jump to
M CHANGESCHANGES

@@ -9,7 +9,6 @@ - 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 - DS Video: Fix 2D/3D blending alpha values - DS I/O: Enable POWCNT1 bit 1 at boot (fixes mgba.io/i/616) - DS Slot-1: Reply to IR 0x08 command properly (fixes mgba.io/i/666)
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 >> 12LL; + return sum >> 8LL; } static int16_t _dotTexture(struct DSGX* gx, int16_t* input, int mode, int c) {