From 91ad24571cc0e3ee118d1d38ac436fbf6f230333 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 23 Jan 2022 22:15:28 +0100 Subject: [PATCH] Add missing __fini() call --- source/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/main.cpp b/source/main.cpp index 227ce15..cb63497 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -15,6 +15,7 @@ #include "globals.h" extern "C" uint32_t textStart(); +extern "C" void __fini(); int main(int argc, char **argv) { if (!WHBLogModuleInit()) { @@ -63,5 +64,7 @@ int main(int argc, char **argv) { } else { //show mii select _SYSLaunchMenuWithCheckingAccount(slot); } + + __fini(); return 0; }