mirror of
https://github.com/Mr-Wiseguy/N64Recomp.git
synced 2025-01-15 19:15:19 +00:00
39b67c8468
Inject a thread pause into infinite loops to allow the idle thread to yield for event processing Removed all preemption usage from the scheduler
13 lines
283 B
C++
13 lines
283 B
C++
#include "ultra64.h"
|
|
#include "multilibultra.hpp"
|
|
|
|
void Multilibultra::preinit(uint8_t* rdram) {
|
|
Multilibultra::set_main_thread();
|
|
Multilibultra::init_events(rdram);
|
|
}
|
|
|
|
extern "C" void osInitialize() {
|
|
Multilibultra::init_scheduler();
|
|
Multilibultra::native_init();
|
|
}
|