summaryrefslogtreecommitdiffstats
path: root/src/common/settings.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-21 05:10:56 +0200
committerGitHub <noreply@github.com>2021-05-21 05:10:56 +0200
commit7626ca3343fda069d935bf3c95b637c929b6b7ac (patch)
tree5ac286df8c6a406386b5fa3e64651c8e26ef61f3 /src/common/settings.h
parentMerge pull request #6297 from lioncash/common-conv (diff)
parentconfigure_cpu: Simplify UpdateGroup (diff)
downloadyuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.tar
yuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.tar.gz
yuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.tar.bz2
yuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.tar.lz
yuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.tar.xz
yuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.tar.zst
yuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.zip
Diffstat (limited to '')
-rw-r--r--src/common/settings.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index d39b4aa45..48085b9a9 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;
@@ -157,7 +157,7 @@ struct Values {
// System
Setting<std::optional<u32>> rng_seed;
// Measured in seconds since epoch
- Setting<std::optional<std::chrono::seconds>> custom_rtc;
+ std::optional<std::chrono::seconds> custom_rtc;
// Set on game boot, reset on stop. Seconds difference between current time and `custom_rtc`
std::chrono::seconds custom_rtc_differential;