all repos — mgba @ bd464ed12385b9418073d5fe923b69203ffede1b

mGBA Game Boy Advance Emulator

DS GX: Allow adjusting texture params mid-polygon
Vicki Pfau vi@endrift.com
Sat, 18 Mar 2017 00:11:03 -0700
commit

bd464ed12385b9418073d5fe923b69203ffede1b

parent

a5b524e3e2cdb0d20126f9b36307a2ee6f0dfc51

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

jump to
M src/ds/gx.csrc/ds/gx.c

@@ -1470,6 +1470,7 @@ gx->nextPoly.texParams = entry.params[0];

gx->nextPoly.texParams |= entry.params[1] << 8; gx->nextPoly.texParams |= entry.params[2] << 16; gx->nextPoly.texParams |= entry.params[3] << 24; + gx->currentPoly.texParams = gx->nextPoly.texParams; break; case DS_GX_CMD_PLTT_BASE: gx->nextPoly.palBase = entry.params[0];