Zelda64Recomp/ultramodern/ultrainit.cpp

15 lines
393 B
C++
Raw Normal View History

#include "ultra64.h"
#include "ultramodern.hpp"
2024-03-04 03:00:49 +01:00
void ultramodern::preinit(uint8_t* rdram, ultramodern::WindowHandle window_handle) {
ultramodern::set_main_thread();
2024-03-04 03:00:49 +01:00
ultramodern::init_events(rdram, window_handle);
ultramodern::init_timers(rdram);
ultramodern::init_audio();
ultramodern::save_init();
}
extern "C" void osInitialize() {
ultramodern::init_scheduler();
}