sm64

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

__osSetGlobalIntMask.c (198B)


      1 #include "libultra_internal.h"
      2 #include "PR/os.h"
      3 
      4 void __osSetGlobalIntMask(s32 mask) {
      5     register u32 saveMask = __osDisableInt();
      6     __OSGlobalIntMask |= mask;
      7     __osRestoreInt(saveMask);
      8 }