sm64

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

osGetThreadPri.c (172B)


      1 #include "libultra_internal.h"
      2 
      3 OSPri osGetThreadPri(OSThread *thread) {
      4     if (thread == NULL) {
      5         thread = __osRunningThread;
      6     }
      7     return thread->priority;
      8 }