aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_system.cpp
diff options
context:
space:
mode:
authoryuzubot <yuzu@yuzu-emu.org>2023-06-10 12:02:32 +0000
committeryuzubot <yuzu@yuzu-emu.org>2023-06-10 12:02:32 +0000
commitc4edc989974ac3aa5f35a7a0c59ff56e77cef8d0 (patch)
tree0eb80c50d14fc1a22c93bdb5b2bb4b6b3de83b6f /src/yuzu/configuration/configure_system.cpp
parent80ea071d9ec97636c4c301329c4955823f4f7829 (diff)
"Merge Tagged PR 10603"mainline-0-1464
Diffstat (limited to 'src/yuzu/configuration/configure_system.cpp')
-rw-r--r--src/yuzu/configuration/configure_system.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cpp
index 286ccc5cd8..f1ae312c65 100644
--- a/src/yuzu/configuration/configure_system.cpp
+++ b/src/yuzu/configuration/configure_system.cpp
@@ -144,8 +144,7 @@ void ConfigureSystem::ApplyConfiguration() {
if (ui->custom_rtc_checkbox->isChecked()) {
Settings::values.custom_rtc = ui->custom_rtc_edit->dateTime().toSecsSinceEpoch();
if (system.IsPoweredOn()) {
- const s64 posix_time{*Settings::values.custom_rtc +
- Service::Time::TimeManager::GetExternalTimeZoneOffset()};
+ const s64 posix_time{*Settings::values.custom_rtc};
system.GetTimeManager().UpdateLocalSystemClockTime(posix_time);
}
} else {