mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-11 12:05:09 -05:00
14 lines
296 B
C
14 lines
296 B
C
|
#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);
|
||
|
}
|