sm64ex-coop/lib/src/osCreateMesgQueue.c

12 lines
300 B
C
Raw Normal View History

2019-08-25 06:46:40 +02:00
#include "libultra_internal.h"
void osCreateMesgQueue(OSMesgQueue *mq, OSMesg *msgBuf, s32 count) {
mq->mtqueue = (OSThread *) &D_80334890; //?
mq->fullqueue = (OSThread *) &D_80334890;
mq->validCount = 0;
mq->first = 0;
mq->msgCount = count;
mq->msg = msgBuf;
return;
}