iidxhook: Integrate settings hook configurability

This commit is contained in:
icex2
2023-03-19 21:15:28 +01:00
committed by icex2
parent 7b90963f53
commit 1154444d16
7 changed files with 50 additions and 0 deletions
+6
View File
@@ -184,6 +184,12 @@ my_OpenProcess(DWORD dwDesiredAccess, BOOL bInheritHandle, DWORD dwProcessId)
effector_hook_init();
}
/* Settings paths */
if (strlen(config_misc.settings_path) > 0) {
settings_hook_set_path(config_misc.settings_path);
}
/* Direct3D and USER32 hooks */
iidxhook2_setup_d3d9_hooks(&config_gfx, &config_iidxhook2);