settings: Delete cpu_accuracy_first_time
Almost a 2 year old migration setting now
This commit is contained in:
parent
7c52bb2772
commit
a0883526d6
|
@ -146,8 +146,6 @@ struct Values {
|
||||||
SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto,
|
SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto,
|
||||||
CpuAccuracy::Auto, CpuAccuracy::Paranoid,
|
CpuAccuracy::Auto, CpuAccuracy::Paranoid,
|
||||||
"cpu_accuracy", Category::Cpu};
|
"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> cpu_debug_mode{linkage, false, "cpu_debug_mode", Category::CpuDebug};
|
||||||
|
|
||||||
Setting<bool> cpuopt_page_tables{linkage, true, "cpuopt_page_tables", Category::CpuDebug};
|
Setting<bool> cpuopt_page_tables{linkage, true, "cpuopt_page_tables", Category::CpuDebug};
|
||||||
|
|
|
@ -635,11 +635,6 @@ void Config::ReadCpuValues() {
|
||||||
ReadCategory(Settings::Category::CpuDebug);
|
ReadCategory(Settings::Category::CpuDebug);
|
||||||
ReadCategory(Settings::Category::CpuUnsafe);
|
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();
|
qt_config->endGroup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) {
|
||||||
|
|
||||||
// Cpu
|
// Cpu
|
||||||
INSERT(Settings, cpu_accuracy, "Accuracy:", "");
|
INSERT(Settings, cpu_accuracy, "Accuracy:", "");
|
||||||
INSERT(Settings, cpu_accuracy_first_time, "", "");
|
|
||||||
|
|
||||||
// Cpu Debug
|
// Cpu Debug
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue