From 8b425bd3d4aaaafdf5ad67e2ce8680bcb265d5df Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 7 Jun 2020 13:59:41 +0200 Subject: [PATCH] Make sure to call the init hook before the entrypoint. --- source/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/main.cpp b/source/main.cpp index 3591eee..b127c89 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -6,6 +6,7 @@ #include WUMS_MODULE_EXPORT_NAME("homebrew_kernel"); +WUMS_MODULE_INIT_BEFORE_ENTRYPOINT(); #define KERN_SYSCALL_TBL1 0xFFE84C70 //Unknown #define KERN_SYSCALL_TBL2 0xFFE85070 //Games