summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2023-12-09 02:25:07 +0100
committert895 <clombardo169@gmail.com>2023-12-09 02:25:07 +0100
commit8225ac004efd0194f191e0209dc604a8c11b7500 (patch)
tree2524d6163cc67f0d14aa0d24ca84e2f33135a4d9 /src/common
parentMerge pull request #12274 from liamwhite/srgb-nonsense (diff)
downloadyuzu-8225ac004efd0194f191e0209dc604a8c11b7500.tar
yuzu-8225ac004efd0194f191e0209dc604a8c11b7500.tar.gz
yuzu-8225ac004efd0194f191e0209dc604a8c11b7500.tar.bz2
yuzu-8225ac004efd0194f191e0209dc604a8c11b7500.tar.lz
yuzu-8225ac004efd0194f191e0209dc604a8c11b7500.tar.xz
yuzu-8225ac004efd0194f191e0209dc604a8c11b7500.tar.zst
yuzu-8225ac004efd0194f191e0209dc604a8c11b7500.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index 98341ad96..7dc18fffe 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -180,14 +180,20 @@ struct Values {
&use_speed_limit};
// Cpu
- SwitchableSetting<CpuBackend, true> cpu_backend{
- linkage, CpuBackend::Dynarmic, CpuBackend::Dynarmic,
+ SwitchableSetting<CpuBackend, true> cpu_backend{linkage,
#ifdef HAS_NCE
- CpuBackend::Nce,
+ CpuBackend::Nce,
#else
CpuBackend::Dynarmic,
#endif
- "cpu_backend", Category::Cpu};
+ CpuBackend::Dynarmic,
+#ifdef HAS_NCE
+ CpuBackend::Nce,
+#else
+ CpuBackend::Dynarmic,
+#endif
+ "cpu_backend",
+ Category::Cpu};
SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto,
CpuAccuracy::Auto, CpuAccuracy::Paranoid,
"cpu_accuracy", Category::Cpu};