diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-08 20:28:25 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-08 20:56:09 +0200 |
commit | 87b6e14d7cbcac0c5b74355f7928a5c21f86b0ac (patch) | |
tree | 942951aa76398dce7ae838db13148f2be633861b /src/core/arm/dynarmic/arm_dynarmic_32.cpp | |
parent | core,common,yuzu qt: Add CPU accuracy option 'Auto' (diff) | |
download | yuzu-87b6e14d7cbcac0c5b74355f7928a5c21f86b0ac.tar yuzu-87b6e14d7cbcac0c5b74355f7928a5c21f86b0ac.tar.gz yuzu-87b6e14d7cbcac0c5b74355f7928a5c21f86b0ac.tar.bz2 yuzu-87b6e14d7cbcac0c5b74355f7928a5c21f86b0ac.tar.lz yuzu-87b6e14d7cbcac0c5b74355f7928a5c21f86b0ac.tar.xz yuzu-87b6e14d7cbcac0c5b74355f7928a5c21f86b0ac.tar.zst yuzu-87b6e14d7cbcac0c5b74355f7928a5c21f86b0ac.zip |
Diffstat (limited to 'src/core/arm/dynarmic/arm_dynarmic_32.cpp')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic_32.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cpp index 23be0447a..c915bed2e 100644 --- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp @@ -200,15 +200,9 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable* // Curated optimizations if (Settings::values.cpu_accuracy.GetValue() == Settings::CPUAccuracy::Auto) { config.unsafe_optimizations = true; - if (Settings::values.cpuopt_unsafe_unfuse_fma) { - config.optimizations |= Dynarmic::OptimizationFlag::Unsafe_UnfuseFMA; - } - if (Settings::values.cpuopt_unsafe_ignore_standard_fpcr) { - config.optimizations |= Dynarmic::OptimizationFlag::Unsafe_IgnoreStandardFPCRValue; - } - if (Settings::values.cpuopt_unsafe_inaccurate_nan) { - config.optimizations |= Dynarmic::OptimizationFlag::Unsafe_InaccurateNaN; - } + config.optimizations |= Dynarmic::OptimizationFlag::Unsafe_UnfuseFMA; + config.optimizations |= Dynarmic::OptimizationFlag::Unsafe_IgnoreStandardFPCRValue; + config.optimizations |= Dynarmic::OptimizationFlag::Unsafe_InaccurateNaN; } return std::make_unique<Dynarmic::A32::Jit>(config); |