Decompile `nuScResetClientMesgType`
This commit is contained in:
parent
a0e093a589
commit
edec5a8ec0
|
|
@ -32,7 +32,13 @@ void nuScAddClient(NUScClient* client, OSMesgQueue* queue, NUScMsg type) {
|
||||||
osSetIntMask(mask);
|
osSetIntMask(mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(const s32, "_ob_past_brick", nuScResetClientMesgType);
|
void nuScResetClientMesgType(NUScClient* client, NUScMsg msgType) {
|
||||||
|
s32 mask;
|
||||||
|
|
||||||
|
mask = osSetIntMask(OS_IM_NONE);
|
||||||
|
client->msgType = msgType;
|
||||||
|
osSetIntMask(mask);
|
||||||
|
}
|
||||||
|
|
||||||
void nuScRemoveClient(NUScClient* client) {
|
void nuScRemoveClient(NUScClient* client) {
|
||||||
s32 mask = osSetIntMask(OS_IM_NONE);
|
s32 mask = osSetIntMask(OS_IM_NONE);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue