early-access version 1691

This commit is contained in:
pineappleEA
2021-05-17 02:21:13 +02:00
parent 23d1664dc2
commit d7bb20e9b0
22 changed files with 316 additions and 282 deletions

View File

@@ -365,10 +365,10 @@ void Config::ReadValues() {
const auto custom_rtc_enabled = sdl2_config->GetBoolean("System", "custom_rtc_enabled", false);
if (custom_rtc_enabled) {
Settings::values.custom_rtc.SetValue(
std::chrono::seconds(sdl2_config->GetInteger("System", "custom_rtc", 0)));
Settings::values.custom_rtc =
std::chrono::seconds(sdl2_config->GetInteger("System", "custom_rtc", 0));
} else {
Settings::values.custom_rtc.SetValue(std::nullopt);
Settings::values.custom_rtc = std::nullopt;
}
Settings::values.language_index.SetValue(