diff options
| author | 2023-06-13 19:45:51 -0400 | |
|---|---|---|
| committer | 2023-07-21 10:56:54 -0400 | |
| commit | a0883526d6a104404404ead384788adb767c88d5 (patch) | |
| tree | eef2f4c5496e83d210362df6f7176f4af0887eb0 /src | |
| parent | shared_widget: Improve logging, use Setting::Ranged (diff) | |
| download | yuzu-a0883526d6a104404404ead384788adb767c88d5.tar.gz yuzu-a0883526d6a104404404ead384788adb767c88d5.tar.xz yuzu-a0883526d6a104404404ead384788adb767c88d5.zip | |
settings: Delete cpu_accuracy_first_time
Almost a 2 year old migration setting now
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/settings.h | 2 | ||||
| -rw-r--r-- | src/yuzu/configuration/config.cpp | 5 | ||||
| -rw-r--r-- | src/yuzu/configuration/shared_translation.cpp | 1 |
3 files changed, 0 insertions, 8 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index afda3ccaf..e510036b4 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -146,8 +146,6 @@ struct Values { | |||
| 146 | SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto, | 146 | SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto, |
| 147 | CpuAccuracy::Auto, CpuAccuracy::Paranoid, | 147 | CpuAccuracy::Auto, CpuAccuracy::Paranoid, |
| 148 | "cpu_accuracy", Category::Cpu}; | 148 | "cpu_accuracy", Category::Cpu}; |
| 149 | // TODO: remove cpu_accuracy_first_time, migration setting added 8 July 2021 | ||
| 150 | Setting<bool> cpu_accuracy_first_time{linkage, true, "cpu_accuracy_first_time", Category::Cpu}; | ||
| 151 | Setting<bool> cpu_debug_mode{linkage, false, "cpu_debug_mode", Category::CpuDebug}; | 149 | Setting<bool> cpu_debug_mode{linkage, false, "cpu_debug_mode", Category::CpuDebug}; |
| 152 | 150 | ||
| 153 | Setting<bool> cpuopt_page_tables{linkage, true, "cpuopt_page_tables", Category::CpuDebug}; | 151 | Setting<bool> cpuopt_page_tables{linkage, true, "cpuopt_page_tables", Category::CpuDebug}; |
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp index ba1847976..ffd4c623d 100644 --- a/src/yuzu/configuration/config.cpp +++ b/src/yuzu/configuration/config.cpp | |||
| @@ -635,11 +635,6 @@ void Config::ReadCpuValues() { | |||
| 635 | ReadCategory(Settings::Category::CpuDebug); | 635 | ReadCategory(Settings::Category::CpuDebug); |
| 636 | ReadCategory(Settings::Category::CpuUnsafe); | 636 | ReadCategory(Settings::Category::CpuUnsafe); |
| 637 | 637 | ||
| 638 | if (Settings::values.cpu_accuracy_first_time) { | ||
| 639 | Settings::values.cpu_accuracy.SetValue(Settings::values.cpu_accuracy.GetDefault()); | ||
| 640 | Settings::values.cpu_accuracy_first_time.SetValue(false); | ||
| 641 | } | ||
| 642 | |||
| 643 | qt_config->endGroup(); | 638 | qt_config->endGroup(); |
| 644 | } | 639 | } |
| 645 | 640 | ||
diff --git a/src/yuzu/configuration/shared_translation.cpp b/src/yuzu/configuration/shared_translation.cpp index b5a3fba4d..fa9683b21 100644 --- a/src/yuzu/configuration/shared_translation.cpp +++ b/src/yuzu/configuration/shared_translation.cpp | |||
| @@ -39,7 +39,6 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 39 | 39 | ||
| 40 | // Cpu | 40 | // Cpu |
| 41 | INSERT(Settings, cpu_accuracy, "Accuracy:", ""); | 41 | INSERT(Settings, cpu_accuracy, "Accuracy:", ""); |
| 42 | INSERT(Settings, cpu_accuracy_first_time, "", ""); | ||
| 43 | 42 | ||
| 44 | // Cpu Debug | 43 | // Cpu Debug |
| 45 | 44 | ||