diff --git a/src/_ob_past_brick.c b/src/_ob_past_brick.c index ecd8d26..49a307e 100644 --- a/src/_ob_past_brick.c +++ b/src/_ob_past_brick.c @@ -32,7 +32,13 @@ void nuScAddClient(NUScClient* client, OSMesgQueue* queue, NUScMsg type) { 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) { s32 mask = osSetIntMask(OS_IM_NONE);