mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-17 18:29:18 +01:00
Call deinitLogging on exit not request exit
This commit is contained in:
parent
a6ced98864
commit
b0d1391e5a
@ -34,7 +34,6 @@ WUMS_INITIALIZE(args) {
|
|||||||
|
|
||||||
WUMS_APPLICATION_REQUESTS_EXIT() {
|
WUMS_APPLICATION_REQUESTS_EXIT() {
|
||||||
CallHook(gPluginInformation, WUPS_LOADER_HOOK_APPLICATION_REQUESTS_EXIT);
|
CallHook(gPluginInformation, WUPS_LOADER_HOOK_APPLICATION_REQUESTS_EXIT);
|
||||||
deinitLogging();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
WUMS_APPLICATION_ENDS() {
|
WUMS_APPLICATION_ENDS() {
|
||||||
@ -50,6 +49,7 @@ WUMS_APPLICATION_ENDS() {
|
|||||||
FunctionPatcherRestoreDynamicFunctions(pluginInformation->plugin_data[plugin_index].info.functions, pluginInformation->plugin_data[plugin_index].info.number_used_functions);
|
FunctionPatcherRestoreDynamicFunctions(pluginInformation->plugin_data[plugin_index].info.functions, pluginInformation->plugin_data[plugin_index].info.number_used_functions);
|
||||||
}
|
}
|
||||||
FunctionPatcherRestoreDynamicFunctions(method_hooks_hooks_static, method_hooks_size_hooks_static);
|
FunctionPatcherRestoreDynamicFunctions(method_hooks_hooks_static, method_hooks_size_hooks_static);
|
||||||
|
deinitLogging();
|
||||||
}
|
}
|
||||||
|
|
||||||
void *allocOnCustomHeap(int alignment, int size);
|
void *allocOnCustomHeap(int alignment, int size);
|
||||||
|
Loading…
Reference in New Issue
Block a user