mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
resetglobalintmask OK (#298)
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
#include "global.h"
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/boot/resetglobalintmask/__osResetGlobalIntMask.s")
|
||||
void __osResetGlobalIntMask(u32 mask) {
|
||||
register s32 prevInt = __osDisableInt();
|
||||
|
||||
__OSGlobalIntMask &= ~(mask & ~0x401);
|
||||
__osRestoreInt(prevInt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user