2023-11-13 00:40:02 +00:00
|
|
|
#include "ultra64.h"
|
|
|
|
#include "ultramodern.hpp"
|
|
|
|
|
2024-05-01 06:38:23 +00:00
|
|
|
void ultramodern::preinit(RDRAM_ARG ultramodern::WindowHandle window_handle) {
|
2023-11-13 00:40:02 +00:00
|
|
|
ultramodern::set_main_thread();
|
2024-05-01 06:38:23 +00:00
|
|
|
ultramodern::init_events(PASS_RDRAM window_handle);
|
|
|
|
ultramodern::init_timers(PASS_RDRAM1);
|
2023-11-13 00:40:02 +00:00
|
|
|
ultramodern::init_audio();
|
2024-05-01 06:38:23 +00:00
|
|
|
ultramodern::init_saving(PASS_RDRAM1);
|
2024-04-25 06:57:06 +00:00
|
|
|
ultramodern::init_thread_cleanup();
|
2023-11-13 00:40:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" void osInitialize() {
|
|
|
|
}
|