summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-06-20 20:40:02 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-06-20 20:40:02 +0200
commit22985084655e7422f0093291fa5445c0bbfa8c22 (patch)
tree68710f716b76109581f152b9166d0ea50cff8123 /src/common
parentMerge pull request #6494 from lat9nq/mingw-fix-fastmem (diff)
downloadyuzu-22985084655e7422f0093291fa5445c0bbfa8c22.tar
yuzu-22985084655e7422f0093291fa5445c0bbfa8c22.tar.gz
yuzu-22985084655e7422f0093291fa5445c0bbfa8c22.tar.bz2
yuzu-22985084655e7422f0093291fa5445c0bbfa8c22.tar.lz
yuzu-22985084655e7422f0093291fa5445c0bbfa8c22.tar.xz
yuzu-22985084655e7422f0093291fa5445c0bbfa8c22.tar.zst
yuzu-22985084655e7422f0093291fa5445c0bbfa8c22.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.cpp1
-rw-r--r--src/common/settings.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 9ec71eced..6397308ec 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -122,6 +122,7 @@ void RestoreGlobalState(bool is_powered_on) {
values.cpu_accuracy.SetGlobal(true);
values.cpuopt_unsafe_unfuse_fma.SetGlobal(true);
values.cpuopt_unsafe_reduce_fp_error.SetGlobal(true);
+ values.cpuopt_unsafe_ignore_standard_fpcr.SetGlobal(true);
values.cpuopt_unsafe_inaccurate_nan.SetGlobal(true);
values.cpuopt_unsafe_fastmem_check.SetGlobal(true);
diff --git a/src/common/settings.h b/src/common/settings.h
index 6198f2d9f..c1a4ce4f6 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -129,6 +129,7 @@ struct Values {
Setting<bool> cpuopt_unsafe_unfuse_fma;
Setting<bool> cpuopt_unsafe_reduce_fp_error;
+ Setting<bool> cpuopt_unsafe_ignore_standard_fpcr;
Setting<bool> cpuopt_unsafe_inaccurate_nan;
Setting<bool> cpuopt_unsafe_fastmem_check;