summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-06-21 23:56:08 +0200
committerGitHub <noreply@github.com>2021-06-21 23:56:08 +0200
commit0485b8e84bacbf7fd56081822faca46114cbeb85 (patch)
tree2469aa1fb159c5bd4f5355b9d3d14e808c0c5b00 /src/common
parentMerge pull request #6475 from ameerj/unlimit-fps (diff)
parentUpdate dynarmic and add new unsafe CPU option. (diff)
downloadyuzu-0485b8e84bacbf7fd56081822faca46114cbeb85.tar
yuzu-0485b8e84bacbf7fd56081822faca46114cbeb85.tar.gz
yuzu-0485b8e84bacbf7fd56081822faca46114cbeb85.tar.bz2
yuzu-0485b8e84bacbf7fd56081822faca46114cbeb85.tar.lz
yuzu-0485b8e84bacbf7fd56081822faca46114cbeb85.tar.xz
yuzu-0485b8e84bacbf7fd56081822faca46114cbeb85.tar.zst
yuzu-0485b8e84bacbf7fd56081822faca46114cbeb85.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 bc3298417..85554eac4 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;