settings: Delete cpu_accuracy_first_time

Almost a 2 year old migration setting now
This commit is contained in:
lat9nq 2023-06-13 19:45:51 -04:00
parent 7c52bb2772
commit a0883526d6
3 changed files with 0 additions and 8 deletions

View file

@ -146,8 +146,6 @@ struct Values {
SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto,
CpuAccuracy::Auto, CpuAccuracy::Paranoid,
"cpu_accuracy", Category::Cpu};
// TODO: remove cpu_accuracy_first_time, migration setting added 8 July 2021
Setting<bool> cpu_accuracy_first_time{linkage, true, "cpu_accuracy_first_time", Category::Cpu};
Setting<bool> cpu_debug_mode{linkage, false, "cpu_debug_mode", Category::CpuDebug};
Setting<bool> cpuopt_page_tables{linkage, true, "cpuopt_page_tables", Category::CpuDebug};

View file

@ -635,11 +635,6 @@ void Config::ReadCpuValues() {
ReadCategory(Settings::Category::CpuDebug);
ReadCategory(Settings::Category::CpuUnsafe);
if (Settings::values.cpu_accuracy_first_time) {
Settings::values.cpu_accuracy.SetValue(Settings::values.cpu_accuracy.GetDefault());
Settings::values.cpu_accuracy_first_time.SetValue(false);
}
qt_config->endGroup();
}

View file

@ -39,7 +39,6 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) {
// Cpu
INSERT(Settings, cpu_accuracy, "Accuracy:", "");
INSERT(Settings, cpu_accuracy_first_time, "", "");
// Cpu Debug