diff --git a/src/main/iidxhook4/dllmain.c b/src/main/iidxhook4/dllmain.c index 3b93347..3df441e 100644 --- a/src/main/iidxhook4/dllmain.c +++ b/src/main/iidxhook4/dllmain.c @@ -70,6 +70,8 @@ iidxhook4_setup_d3d9_hooks(const struct iidxhook_config_gfx *config_gfx) d3d9_config.scale_back_buffer_filter = config_gfx->scale_back_buffer_filter; d3d9_config.forced_refresh_rate = config_gfx->forced_refresh_rate; d3d9_config.device_adapter = config_gfx->device_adapter; + /* Required for GOLD (and newer?) to not crash with NVIDIA cards */ + d3d9_config.iidx14_to_19_nvidia_fix = true; if (config_gfx->monitor_check == 0) { log_info("Auto monitor check enabled"); diff --git a/src/main/iidxhook5-cn/dllmain.c b/src/main/iidxhook5-cn/dllmain.c index e9dbd5a..24d882f 100644 --- a/src/main/iidxhook5-cn/dllmain.c +++ b/src/main/iidxhook5-cn/dllmain.c @@ -79,6 +79,8 @@ iidxhook5_cn_setup_d3d9_hooks(const struct iidxhook_config_gfx *config_gfx) d3d9_config.scale_back_buffer_filter = config_gfx->scale_back_buffer_filter; d3d9_config.forced_refresh_rate = config_gfx->forced_refresh_rate; d3d9_config.device_adapter = config_gfx->device_adapter; + /* Required for GOLD (and newer?) to not crash with NVIDIA cards */ + d3d9_config.iidx14_to_19_nvidia_fix = true; iidxhook_util_d3d9_configure(&d3d9_config); diff --git a/src/main/iidxhook5/dllmain.c b/src/main/iidxhook5/dllmain.c index 4d01351..68b3eb4 100644 --- a/src/main/iidxhook5/dllmain.c +++ b/src/main/iidxhook5/dllmain.c @@ -69,6 +69,8 @@ iidxhook5_setup_d3d9_hooks(const struct iidxhook_config_gfx *config_gfx) d3d9_config.scale_back_buffer_filter = config_gfx->scale_back_buffer_filter; d3d9_config.forced_refresh_rate = config_gfx->forced_refresh_rate; d3d9_config.device_adapter = config_gfx->device_adapter; + /* Required for GOLD (and newer?) to not crash with NVIDIA cards */ + d3d9_config.iidx14_to_19_nvidia_fix = true; iidxhook_util_d3d9_configure(&d3d9_config);