mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2025-01-26 15:05:35 +01:00
Formatting
This commit is contained in:
parent
e70ec9b345
commit
de4938474c
@ -27,7 +27,7 @@ void CallHook(const ModuleData &module, wums_hook_type_t type) {
|
||||
}
|
||||
|
||||
if (type == curHook.getType()) {
|
||||
if ((type == WUMS_HOOK_APPLICATION_STARTS||
|
||||
if ((type == WUMS_HOOK_APPLICATION_STARTS ||
|
||||
type == WUMS_HOOK_APPLICATION_ENDS ||
|
||||
type == WUMS_HOOK_INIT_WUT ||
|
||||
type == WUMS_HOOK_FINI_WUT)) {
|
||||
@ -37,7 +37,7 @@ void CallHook(const ModuleData &module, wums_hook_type_t type) {
|
||||
DEBUG_FUNCTION_LINE("Calling hook of type %s [%d] %d for %s\n", hook_names[type], type, curHook.getType(), module.getExportName().c_str(), gModuleData);
|
||||
wums_app_init_args_t args;
|
||||
args.module_information = gModuleData;
|
||||
((void (*)(wums_app_init_args_t*)) ((uint32_t *) func_ptr))(&args);
|
||||
((void (*)(wums_app_init_args_t *)) ((uint32_t *) func_ptr))(&args);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -6,4 +6,5 @@
|
||||
#include "../../source/module/ModuleData.h"
|
||||
|
||||
void CallHook(const std::vector<ModuleData> &modules, wums_hook_type_t type);
|
||||
|
||||
void CallHook(const ModuleData &module, wums_hook_type_t type);
|
Loading…
x
Reference in New Issue
Block a user