From bd464ed12385b9418073d5fe923b69203ffede1b Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 18 Mar 2017 00:11:03 -0700 Subject: [PATCH] DS GX: Allow adjusting texture params mid-polygon --- src/ds/gx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ds/gx.c b/src/ds/gx.c index 04c8d3302..c7b9d7482 100644 --- a/src/ds/gx.c +++ b/src/ds/gx.c @@ -1470,6 +1470,7 @@ static void _fifoRun(struct mTiming* timing, void* context, uint32_t cyclesLate) 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];