diff options
Diffstat (limited to 'src/code/graph.c')
| -rw-r--r-- | src/code/graph.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/code/graph.c b/src/code/graph.c index 868506c7d..f70663b59 100644 --- a/src/code/graph.c +++ b/src/code/graph.c @@ -218,7 +218,7 @@ void Graph_TaskSet00(GraphicsContext* gfxCtx) { task->yield_data_size = sizeof(gGfxSPTaskYieldBuffer); scTask->next = NULL; - scTask->flags = OS_SC_RCP_MASK | OS_SC_SWAPBUFFER | OS_SC_LAST_TASK; + scTask->flags = OS_SC_NEEDS_RSP | OS_SC_NEEDS_RDP | OS_SC_SWAPBUFFER | OS_SC_LAST_TASK; if (SREG(33) & 1) { SREG(33) &= ~1; scTask->flags &= ~OS_SC_SWAPBUFFER; @@ -229,10 +229,10 @@ void Graph_TaskSet00(GraphicsContext* gfxCtx) { scTask->msg = NULL; cfb = &sGraphCfbInfos[sGraphCfbInfoIdx++]; - cfb->fb1 = gfxCtx->curFrameBuffer; + cfb->framebuffer = gfxCtx->curFrameBuffer; cfb->swapBuffer = gfxCtx->curFrameBuffer; cfb->viMode = gfxCtx->viMode; - cfb->features = gfxCtx->viFeatures; + cfb->viFeatures = gfxCtx->viFeatures; cfb->xScale = gfxCtx->xScale; cfb->yScale = gfxCtx->yScale; cfb->unk_10 = 0; @@ -243,10 +243,10 @@ void Graph_TaskSet00(GraphicsContext* gfxCtx) { if (1) {} - gfxCtx->schedMsgQueue = &gSchedContext.cmdQueue; + gfxCtx->schedMsgQueue = &gScheduler.cmdQueue; - osSendMesg(&gSchedContext.cmdQueue, (OSMesg)scTask, OS_MESG_BLOCK); - Sched_SendEntryMsg(&gSchedContext); + osSendMesg(&gScheduler.cmdQueue, (OSMesg)scTask, OS_MESG_BLOCK); + Sched_Notify(&gScheduler); } void Graph_Update(GraphicsContext* gfxCtx, GameState* gameState) { |
