1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-16 04:44:44 +00:00
oot/src/libultra_boot_O1/osCreateMesgQueue.c
2020-03-22 22:20:03 +01:00

10 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;
}