sm64/lib/src/__osResetGlobalIntMask.c

10 lines
214 B
C

#include "libultra_internal.h"
#include "PR/os.h"
void __osResetGlobalIntMask(u32 mask) {
register u32 prev;
prev = __osDisableInt();
__OSGlobalIntMask &= ~(-0x402 & mask);
__osRestoreInt(prev);
}