DS GX: Fix FIFO scheduling

This commit is contained in:
Vicki Pfau 2017-03-02 01:08:29 -08:00
parent 9464daf514
commit e9debb197e
1 changed files with 3 additions and 3 deletions

View File

@ -1089,11 +1089,11 @@ void DSGXFlush(struct DSGX* gx) {
gx->bufferIndex ^= 1;
gx->vertexIndex = 0;
gx->polygonIndex = 0;
if (CircleBufferSize(&gx->fifo)) {
mTimingSchedule(&gx->p->ds9.timing, &gx->fifoEvent, 0);
}
}
if (CircleBufferSize(&gx->fifo)) {
mTimingSchedule(&gx->p->ds9.timing, &gx->fifoEvent, 0);
}
DSGXUpdateGXSTAT(gx);
}