Decompile `nuScResetClientMesgType`

This commit is contained in:
gijs 2023-10-20 12:21:58 +02:00
parent a0e093a589
commit edec5a8ec0
1 changed files with 7 additions and 1 deletions

View File

@ -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);