all repos — mgba @ 830921a14ce4b66a7e377d04c11da634bc75fbf8

mGBA Game Boy Advance Emulator

DS GX: Set default to white
Vicki Pfau vi@endrift.com
Fri, 03 Mar 2017 22:06:48 -0800
commit

830921a14ce4b66a7e377d04c11da634bc75fbf8

parent

32f63d7d93af8407268520df093c258bd02b3d7e

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

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

@@ -1020,6 +1020,7 @@ memset(&gx->outstandingEntry, 0, sizeof(gx->outstandingEntry));

gx->activeParams = 0; memset(&gx->currentVertex, 0, sizeof(gx->currentVertex)); memset(&gx->nextPoly, 0, sizeof(gx-> nextPoly)); + gx->currentVertex.color = 0x7FFF; } void DSGXAssociateRenderer(struct DSGX* gx, struct DSGXRenderer* renderer) {