mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 15:01:32 -04:00
setglobalintmask OK (#299)
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
#include "global.h"
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/boot/setglobalintmask/__osSetGlobalIntMask.s")
|
||||
void __osSetGlobalIntMask(u32 mask) {
|
||||
register s32 prevInt = __osDisableInt();
|
||||
|
||||
__OSGlobalIntMask |= mask;
|
||||
__osRestoreInt(prevInt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user