summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/config.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-05-16 07:17:18 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-05-17 21:54:30 +0200
commit339dc4f806b0c39a4ec6460187f345c4e2890d05 (patch)
tree1e47f2c0afa0a9bc4ecae5f2d9886c71bc6629c4 /src/yuzu_cmd/config.cpp
parentconfiguration: Add CPU tab to game properties (diff)
downloadyuzu-339dc4f806b0c39a4ec6460187f345c4e2890d05.tar
yuzu-339dc4f806b0c39a4ec6460187f345c4e2890d05.tar.gz
yuzu-339dc4f806b0c39a4ec6460187f345c4e2890d05.tar.bz2
yuzu-339dc4f806b0c39a4ec6460187f345c4e2890d05.tar.lz
yuzu-339dc4f806b0c39a4ec6460187f345c4e2890d05.tar.xz
yuzu-339dc4f806b0c39a4ec6460187f345c4e2890d05.tar.zst
yuzu-339dc4f806b0c39a4ec6460187f345c4e2890d05.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(