summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/config.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-21 05:10:56 +0200
committerGitHub <noreply@github.com>2021-05-21 05:10:56 +0200
commit7626ca3343fda069d935bf3c95b637c929b6b7ac (patch)
tree5ac286df8c6a406386b5fa3e64651c8e26ef61f3 /src/yuzu_cmd/config.cpp
parentMerge pull request #6297 from lioncash/common-conv (diff)
parentconfigure_cpu: Simplify UpdateGroup (diff)
downloadyuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.tar
yuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.tar.gz
yuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.tar.bz2
yuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.tar.lz
yuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.tar.xz
yuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.tar.zst
yuzu-7626ca3343fda069d935bf3c95b637c929b6b7ac.zip
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
-rw-r--r--src/yuzu_cmd/config.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index 7e1d5f379..38d896d65 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -361,10 +361,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(