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

Function ARQInit

src/dolphin/src/ar/arq.c:109–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void ARQInit(void)
110{
111 if (__ARQ_init_flag != TRUE)
112 {
113 OSRegisterVersion(__ARQVersion);
114
115 __ARQRequestQueueHi = __ARQRequestQueueLo = NULL;
116 __ARQChunkSize = 0x1000;
117 ARRegisterDMACallback(__ARQInterruptServiceRoutine);
118 __ARQRequestPendingHi = NULL;
119 __ARQRequestPendingLo = NULL;
120 __ARQCallbackHi = NULL;
121 __ARQCallbackLo = NULL;
122 __ARQ_init_flag = TRUE;
123 }
124}
125
126void ARQPostRequest(ARQRequest* request, u32 owner, u32 type, u32 priority, u32 source, u32 dest,
127 u32 length, ARQCallback callback)

Callers 1

iSndInitFunction · 0.85

Calls 2

OSRegisterVersionFunction · 0.85
ARRegisterDMACallbackFunction · 0.85

Tested by

no test coverage detected