Make sure to call the init hook before the entrypoint.

This commit is contained in:
Maschell 2020-06-07 13:59:35 +02:00
parent 47b65df686
commit 9e4baed439

View File

@ -2,6 +2,7 @@
#include <whb/log_udp.h> #include <whb/log_udp.h>
#include "function_patcher.h" #include "function_patcher.h"
WUMS_MODULE_EXPORT_NAME("homebrew_functionpatcher"); WUMS_MODULE_EXPORT_NAME("homebrew_functionpatcher");
WUMS_MODULE_INIT_BEFORE_ENTRYPOINT();
WUMS_INITIALIZE(){ WUMS_INITIALIZE(){
WHBLogUdpInit(); WHBLogUdpInit();