You've already forked hackerlibultra
mirror of
https://github.com/HackerN64/hackerlibultra.git
synced 2026-01-21 10:37:53 -08:00
12 lines
292 B
C
12 lines
292 B
C
#include "PR/os_internal.h"
|
|
#include "osint.h"
|
|
|
|
void osCreateMesgQueue(OSMesgQueue *mq, OSMesg *msg, s32 msgCount) {
|
|
mq->mtqueue = &__osThreadTail.next;
|
|
mq->fullqueue = &__osThreadTail.next;
|
|
mq->validCount = 0;
|
|
mq->first = 0;
|
|
mq->msgCount = msgCount;
|
|
mq->msg = msg;
|
|
}
|