Shipwright/soh/src/libultra/io/visetevent.c

14 lines
296 B
C
Raw Normal View History

#include "global.h"
extern OSViContext* __osViNext;
void osViSetEvent(OSMesgQueue* mq, OSMesg msg, u32 retraceCount) {
register u32 prevInt = __osDisableInt();
__osViNext->mq = mq;
__osViNext->msg = msg;
__osViNext->retraceCount = retraceCount;
__osRestoreInt(prevInt);
}