MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / GXWaitDrawDone

Function GXWaitDrawDone

src/dolphin/src/gx/GXMisc.c:143–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143inline void GXWaitDrawDone(void)
144{
145 BOOL enabled;
146
147 CHECK_GXBEGIN(534, "GXWaitDrawDone");
148
149 enabled = OSDisableInterrupts();
150 while (!DrawDone)
151 {
152 OSSleepThread(&FinishQueue);
153 }
154 OSRestoreInterrupts(enabled);
155}
156
157void GXDrawDone(void)
158{

Callers 1

GXDrawDoneFunction · 0.85

Calls 2

OSDisableInterruptsFunction · 0.85
OSSleepThreadFunction · 0.85

Tested by

no test coverage detected