diff --git a/deps/gbastartup/cstartup.cpp b/deps/gbastartup/cstartup.cpp index b79f241b..1ffb0942 100644 --- a/deps/gbastartup/cstartup.cpp +++ b/deps/gbastartup/cstartup.cpp @@ -8,6 +8,10 @@ #include +namespace mgba { +void initConsole(); +} + #define MEM_EWRAM_BEGIN reinterpret_cast(0x02000000) #define MEM_EWRAM_END reinterpret_cast(0x0203FFFF) @@ -39,6 +43,7 @@ void __libc_init_array() { int c_start() { const char *args[2] = {"", "rom.oxfs"}; ox::heapmgr::initHeap(HEAP_BEGIN, HEAP_END); + mgba::initConsole(); #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" return main(2, args);