MCPcopy Create free account
hub / github.com/devkitPro/libctru / gspWaitForEvent

Function gspWaitForEvent

libctru/source/services/gspgpu.c:291–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291void gspWaitForEvent(GSPGPU_Event id, bool nextEvent)
292{
293 if(id>= GSPGPU_EVENT_MAX)return;
294
295 if (nextEvent)
296 LightEvent_Clear(&gspEvents[id]);
297 LightEvent_Wait(&gspEvents[id]);
298 if (!nextEvent)
299 LightEvent_Clear(&gspEvents[id]);
300}
301
302GSPGPU_Event gspWaitForAnyEvent(void)
303{

Callers

nothing calls this directly

Calls 2

LightEvent_ClearFunction · 0.85
LightEvent_WaitFunction · 0.85

Tested by

no test coverage detected