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

Function LightEvent_Init

libctru/source/synchronization.c:256–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256void LightEvent_Init(LightEvent* event, ResetType reset_type)
257{
258 LightLock_Init(&event->lock);
259 LightEvent_SetState(event, reset_type == RESET_STICKY ? CLEARED_STICKY : CLEARED_ONESHOT);
260}
261
262void LightEvent_Clear(LightEvent* event)
263{

Callers 3

ndspInitFunction · 0.85
gspInitFunction · 0.85
aptInitFunction · 0.85

Calls 2

LightLock_InitFunction · 0.85
LightEvent_SetStateFunction · 0.85

Tested by

no test coverage detected