mirror of
https://github.com/n64decomp/sm64
synced 2026-04-25 08:33:43 +00:00
11 lines
292 B
C
11 lines
292 B
C
#include "libultra_internal.h"
|
|
|
|
void osCreateMesgQueue(OSMesgQueue *mq, OSMesg *msgBuf, s32 count) {
|
|
mq->mtqueue = (OSThread *) &__osThreadTail;
|
|
mq->fullqueue = (OSThread *) &__osThreadTail;
|
|
mq->validCount = 0;
|
|
mq->first = 0;
|
|
mq->msgCount = count;
|
|
mq->msg = msgBuf;
|
|
}
|