mirror of
https://github.com/zeldaret/oot.git
synced 2024-09-23 05:45:03 +00:00
12 lines
247 B
C
12 lines
247 B
C
|
#include <global.h>
|
||
|
|
||
|
void osCreateMesgQueue(OSMesgQueue* mq, OSMesg* msg, s32 count)
|
||
|
{
|
||
|
mq->mtqueue = __osThreadTail;
|
||
|
mq->fullqueue = __osThreadTail;
|
||
|
mq->validCount = 0;
|
||
|
mq->first = 0;
|
||
|
mq->msgCount = count;
|
||
|
mq->msg = msg;
|
||
|
}
|