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