osViSetEvent.c (321B)
1 #include "libultra_internal.h" 2 3 extern OSViContext *__osViNext; 4 5 void osViSetEvent(OSMesgQueue *mq, OSMesg msg, u32 retraceCount) { 6 register u32 int_disabled = __osDisableInt(); 7 (__osViNext)->mq = mq; 8 (__osViNext)->msg = msg; 9 (__osViNext)->retraceCount = retraceCount; 10 __osRestoreInt(int_disabled); 11 }