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

Function GXSetDrawSyncCallback

src/dolphin/src/gx/GXMisc.c:268–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268GXDrawSyncCallback GXSetDrawSyncCallback(GXDrawSyncCallback cb)
269{
270 GXDrawSyncCallback oldcb;
271 BOOL enabled;
272
273 oldcb = TokenCB;
274 enabled = OSDisableInterrupts();
275 TokenCB = cb;
276 OSRestoreInterrupts(enabled);
277 return oldcb;
278}
279
280static void GXTokenInterruptHandler(__OSInterrupt interrupt, OSContext* context)
281{

Callers 2

__GXShutdownFunction · 0.85
iSystemInitFunction · 0.85

Calls 1

OSDisableInterruptsFunction · 0.85

Tested by

no test coverage detected