remove "done" folders, label "bs/droneenter, bs/dronelook, and bs/dronevanish files and functions"
This commit is contained in:
12
src/core1/os/getthreadpri.c
Normal file
12
src/core1/os/getthreadpri.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <ultra64.h>
|
||||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
extern OSThread *__osRunningThread;
|
||||
|
||||
OSPri osGetThreadPri(OSThread *thread)
|
||||
{
|
||||
if (thread == NULL)
|
||||
thread = __osRunningThread;
|
||||
return thread->priority;
|
||||
}
|
Reference in New Issue
Block a user