mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-17 04:20:44 +00:00
First proper commit.
This commit is contained in:
parent
be78236d36
commit
087f561f77
14086 changed files with 1200489 additions and 1 deletions
9
src/libultra_boot_O1/osGetThreadId.c
Normal file
9
src/libultra_boot_O1/osGetThreadId.c
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include <global.h>
|
||||
|
||||
OSId osGetThreadId(OSThread* thread)
|
||||
{
|
||||
if (thread == NULL)
|
||||
thread = __osRunningThread;
|
||||
|
||||
return thread->id;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue