call game_main

This commit is contained in:
Jeffrey Crowell
2026-02-14 16:04:12 -08:00
parent 147b4bdb97
commit 833db377af
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1351,6 +1351,7 @@ set(DUSK_FILES
src/dusk/globals.cpp
src/dusk/mtx.cpp
src/dusk/J3DTransforms_C.cpp
src/m_Do/m_Do_main.cpp # TODO: move this to a more appropriate location, it's not really dusk-specific
)
source_group("dolzel" FILES ${DOLZEL_FILES} ${Z2AUDIOLIB_FILES} ${SSYSTEM_FILES} ${JSYSTEM_FILES} ${REL_FILES})
+1 -1
View File
@@ -872,7 +872,7 @@ static u8 mainThreadStack[32768];
OSThread mainThread;
void game_main(int argc, const char* argv[]) {
extern "C" void game_main(int argc, const char* argv[]) {
OSThread* current_thread = OSGetCurrentThread();
u8* stack = mainThreadStack;
mDoMain::sPowerOnTime = OSGetTime();