diff options
| author | 2021-10-19 09:55:50 -0700 | |
|---|---|---|
| committer | 2021-10-19 09:55:50 -0700 | |
| commit | c871320760ed050168fd74969a6ef9fba3cf535c (patch) | |
| tree | 7127f59acb371f15b80b143ffb0d4bcda28f035e /src/yuzu_cmd/config.cpp | |
| parent | Merge pull request #7173 from Morph1984/invalidate-unmap (diff) | |
| parent | settings: Remove std::chrono usage (diff) | |
| download | yuzu-c871320760ed050168fd74969a6ef9fba3cf535c.tar.gz yuzu-c871320760ed050168fd74969a6ef9fba3cf535c.tar.xz yuzu-c871320760ed050168fd74969a6ef9fba3cf535c.zip | |
Merge pull request #7198 from ameerj/settings-chrono
settings: Remove std::chrono usage
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 8ca20679a..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 | } |