sm64

A Super Mario 64 decompilation
Log | Files | Refs | README | LICENSE

__osResetGlobalIntMask.c (214B)


      1 #include "libultra_internal.h"
      2 #include "PR/os.h"
      3 
      4 void __osResetGlobalIntMask(u32 mask) {
      5     register u32 prev;
      6     prev = __osDisableInt();
      7     __OSGlobalIntMask &= ~(-0x402 & mask);
      8     __osRestoreInt(prev);
      9 }