mirror of
https://github.com/n64decomp/mk64
synced 2026-07-08 21:04:48 -04:00
5c23113592
* libultra from sm64 integrated; 3 libultra functions matched * All of libultra done! authored-by: farisawan-2000 <farisawan.2000@gmail.com>
10 lines
245 B
C
Executable File
10 lines
245 B
C
Executable File
#include "libultra_internal.h"
|
|
#include "osint.h"
|
|
|
|
void osYieldThread(void){
|
|
register u32 saveMask = __osDisableInt();
|
|
__osRunningThread->state = OS_STATE_RUNNABLE;
|
|
__osEnqueueAndYield(&__osRunQueue);
|
|
__osRestoreInt(saveMask);
|
|
}
|