summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-01 04:22:21 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-08 20:56:09 +0200
commit7ab57671577f15faea7fa97433844667e06bcb7b (patch)
treed48f1ac303da141fb85004df69f86f5b1dd8b1b4 /src/common
parentMerge pull request #6539 from lat9nq/default-setting (diff)
downloadyuzu-7ab57671577f15faea7fa97433844667e06bcb7b.tar
yuzu-7ab57671577f15faea7fa97433844667e06bcb7b.tar.gz
yuzu-7ab57671577f15faea7fa97433844667e06bcb7b.tar.bz2
yuzu-7ab57671577f15faea7fa97433844667e06bcb7b.tar.lz
yuzu-7ab57671577f15faea7fa97433844667e06bcb7b.tar.xz
yuzu-7ab57671577f15faea7fa97433844667e06bcb7b.tar.zst
yuzu-7ab57671577f15faea7fa97433844667e06bcb7b.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index bf83186f5..f9988c266 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -31,9 +31,10 @@ enum class GPUAccuracy : u32 {
};
enum class CPUAccuracy : u32 {
- Accurate = 0,
- Unsafe = 1,
- DebugMode = 2,
+ Auto = 0,
+ Accurate = 1,
+ Unsafe = 2,
+ DebugMode = 3,
};
/** The BasicSetting class is a simple resource manager. It defines a label and default value
@@ -284,7 +285,7 @@ struct Values {
Setting<bool> use_multi_core{true, "use_multi_core"};
// Cpu
- Setting<CPUAccuracy> cpu_accuracy{CPUAccuracy::Accurate, "cpu_accuracy"};
+ Setting<CPUAccuracy> cpu_accuracy{CPUAccuracy::Auto, "cpu_accuracy"};
BasicSetting<bool> cpuopt_page_tables{true, "cpuopt_page_tables"};
BasicSetting<bool> cpuopt_block_linking{true, "cpuopt_block_linking"};