mirror of
https://github.com/wiiu-env/MemoryMappingModule.git
synced 2026-08-20 08:04:06 -05:00
Allow logging in init hook
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user