Decompile `nuScEventBroadcast`
This commit is contained in:
parent
34c7cfa70d
commit
19ad06ddec
|
|
@ -56,7 +56,16 @@ void nuScRemoveClient(NUScClient* client) {
|
||||||
osSetIntMask(mask);
|
osSetIntMask(mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(const s32, "_ob_past_brick", nuScEventBroadcast);
|
void nuScEventBroadcast(NUScMsg* msg) {
|
||||||
|
NUScClient* clientList = nusched.clientList;
|
||||||
|
|
||||||
|
while (clientList != NULL) {
|
||||||
|
if (clientList->msgType & *msg) {
|
||||||
|
osSendMesg(clientList->msgQ, msg, OS_MESG_NOBLOCK);
|
||||||
|
}
|
||||||
|
clientList = clientList->next;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(const s32, "_ob_past_brick", nuScExecuteAudio);
|
INCLUDE_ASM(const s32, "_ob_past_brick", nuScExecuteAudio);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue