diff options
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index d74eb7e2b..0b8fde691 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -412,8 +412,7 @@ void Config::ReadValues() { | |||
| 412 | 412 | ||
| 413 | const auto custom_rtc_enabled = sdl2_config->GetBoolean("System", "custom_rtc_enabled", false); | 413 | const auto custom_rtc_enabled = sdl2_config->GetBoolean("System", "custom_rtc_enabled", false); |
| 414 | if (custom_rtc_enabled) { | 414 | if (custom_rtc_enabled) { |
| 415 | Settings::values.custom_rtc = | 415 | Settings::values.custom_rtc = sdl2_config->GetInteger("System", "custom_rtc", 0); |
| 416 | std::chrono::seconds(sdl2_config->GetInteger("System", "custom_rtc", 0)); | ||
| 417 | } else { | 416 | } else { |
| 418 | Settings::values.custom_rtc = std::nullopt; | 417 | Settings::values.custom_rtc = std::nullopt; |
| 419 | } | 418 | } |
| @@ -519,9 +518,8 @@ void Config::ReadValues() { | |||
| 519 | ReadSetting("WebService", Settings::values.yuzu_username); | 518 | ReadSetting("WebService", Settings::values.yuzu_username); |
| 520 | ReadSetting("WebService", Settings::values.yuzu_token); | 519 | ReadSetting("WebService", Settings::values.yuzu_token); |
| 521 | 520 | ||
| 522 | // Services | 521 | // Network |
| 523 | ReadSetting("Services", Settings::values.bcat_backend); | 522 | ReadSetting("Network", Settings::values.network_interface); |
| 524 | ReadSetting("Services", Settings::values.bcat_boxcat_local); | ||
| 525 | } | 523 | } |
| 526 | 524 | ||
| 527 | void Config::Reload() { | 525 | void Config::Reload() { |