1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2024-11-28 00:10:51 +01:00

iidxhook 4, 5, 5-cn: enable nvidia fix

Was absent but actually fixes crashing on nvidia cards
on these versions as well.
This commit is contained in:
2d9f8a0741a7573b189035dcb819847ecb5d981d 2022-06-15 21:30:43 +00:00 committed by icex2
parent 926e976c36
commit badd616add
3 changed files with 6 additions and 0 deletions

View File

@ -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");

View File

@ -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);

View File

@ -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);