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

Function gxCmdQueueRun

libctru/source/gpu/gxqueue.c:77–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void gxCmdQueueRun(gxCmdQueue_s* queue)
78{
79 if (isRunning)
80 return;
81 curQueue = queue;
82 isActive = true;
83 if (queue->lastEntry < queue->numEntries)
84 {
85 isRunning = true;
86 LightLock_Lock(&queueLock);
87 gxCmdQueueDoCommands();
88 LightLock_Unlock(&queueLock);
89 } else
90 isRunning = false;
91}
92
93void gxCmdQueueStop(gxCmdQueue_s* queue)
94{

Callers

nothing calls this directly

Calls 3

LightLock_LockFunction · 0.85
gxCmdQueueDoCommandsFunction · 0.85
LightLock_UnlockFunction · 0.85

Tested by

no test coverage detected