From 9e4baed439d16a345d03ecdd5af1a7cdba801f34 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 7 Jun 2020 13:59:35 +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 739ddcc..7bd19b5 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -2,6 +2,7 @@ #include #include "function_patcher.h" WUMS_MODULE_EXPORT_NAME("homebrew_functionpatcher"); +WUMS_MODULE_INIT_BEFORE_ENTRYPOINT(); WUMS_INITIALIZE(){ WHBLogUdpInit();