From 69f21e1fb401078ebdd2a27a6575339ef6f60f1f Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Thu, 23 Mar 2017 21:01:20 -0700 Subject: [PATCH] DS GX: Allow palette base to be adjusted in the middle of a polygon --- src/ds/gx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ds/gx.c b/src/ds/gx.c index f9b013055..5986a910a 100644 --- a/src/ds/gx.c +++ b/src/ds/gx.c @@ -1191,6 +1191,7 @@ static void _fifoRun(struct mTiming* timing, void* context, uint32_t cyclesLate) 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;