Skip to content

Commit

Permalink
Stop logging every hook call
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed Mar 31, 2021
1 parent b48a53b commit fe64a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void CallHookEx(plugin_information_t *pluginInformation, wups_loader_hook_type_t
replacement_data_hook_t *hook_data = &plugin_data->info.hooks[j];
if (hook_data->type == hook_type) {
if(hook_data->type != WUPS_LOADER_HOOK_VSYNC){
DEBUG_FUNCTION_LINE("Calling hook of type %s for plugin %s [%d]", hook_names[hook_data->type], plugin_data->meta.name, hook_type);
DEBUG_FUNCTION_LINE_VERBOSE("Calling hook of type %s for plugin %s [%d]", hook_names[hook_data->type], plugin_data->meta.name, hook_type);
}
void *func_ptr = hook_data->func_pointer;
if (func_ptr != nullptr) {
Expand Down

0 comments on commit fe64a68

Please sign in to comment.