Allow logging in init hook

This commit is contained in:
Maschell 2024-04-19 13:12:12 +02:00
parent 4a386d59aa
commit 5f249475c3

View File

@ -55,6 +55,10 @@ WUMS_INITIALIZE(args) {
return;
}
#ifdef DEBUG
initLogging();
#endif
UpdateFunctionPointer();
ucSetupRequired = 0;
@ -73,6 +77,10 @@ WUMS_INITIALIZE(args) {
OSFatal("homebrew_memorymapping: Failed to patch function");
}
}
#ifdef DEBUG
deinitLogging();
#endif
}
WUMS_APPLICATION_STARTS() {