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