DS GX: Allow palette base to be adjusted in the middle of a polygon
Vicki Pfau vi@endrift.com
Thu, 23 Mar 2017 21:01:20 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/ds/gx.c
→
src/ds/gx.c
@@ -1191,6 +1191,7 @@ gx->nextPoly.palBase = entry.params[0];
gx->nextPoly.palBase |= entry.params[1] << 8; gx->nextPoly.palBase |= entry.params[2] << 16; gx->nextPoly.palBase |= entry.params[3] << 24; + gx->currentPoly.palBase = gx->nextPoly.palBase; break; case DS_GX_CMD_BEGIN_VTXS: gx->vertexMode = entry.params[0] & 3;