diff --git a/source/main.cpp b/source/main.cpp index f70821d..3bec26a 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -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() {