mirror of
https://github.com/wiiu-env/MemoryMappingModule.git
synced 2024-11-21 17:29:21 +01:00
Allow logging in init hook
This commit is contained in:
parent
4a386d59aa
commit
5f249475c3
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user