diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-05-15 20:46:48 -0400 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-05-15 20:46:48 -0400 |
commit | e169fdad4f89675f5b56a3ca5004d593792426a0 (patch) | |
tree | e52425c637fd16bacb4ee72fa18922c10b0fc5b9 /src/common/settings.h | |
parent | 904584e4ba0b87e3f1555e29e9bf31109b65e301 (diff) |
general: Make CPU accuracy and related a Settings::Setting
Required to make CPU accuracy and unsafe settings available to use as a
per-game setting.
Diffstat (limited to 'src/common/settings.h')
-rw-r--r-- | src/common/settings.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index d39b4aa45..68dc2ea7d 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -115,7 +115,7 @@ struct Values { Setting<bool> use_multi_core; // Cpu - CPUAccuracy cpu_accuracy; + Setting<CPUAccuracy> cpu_accuracy; bool cpuopt_page_tables; bool cpuopt_block_linking; @@ -126,9 +126,9 @@ struct Values { bool cpuopt_misc_ir; bool cpuopt_reduce_misalign_checks; - bool cpuopt_unsafe_unfuse_fma; - bool cpuopt_unsafe_reduce_fp_error; - bool cpuopt_unsafe_inaccurate_nan; + Setting<bool> cpuopt_unsafe_unfuse_fma; + Setting<bool> cpuopt_unsafe_reduce_fp_error; + Setting<bool> cpuopt_unsafe_inaccurate_nan; // Renderer Setting<RendererBackend> renderer_backend; |