Revert "DS GX: Fix incorrect W values"

This reverts commit 91ab6b29f3.
This commit is contained in:
Vicki Pfau 2020-07-18 16:12:12 -07:00
parent a8272480c1
commit 69e289995b
2 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@ Bugfixes:
- 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)

View File

@ -408,7 +408,7 @@ static int32_t _dotViewport(struct DSGXVertex* vertex, int32_t* col) {
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) {