aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-21 15:45:44 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-05 15:15:11 -0400
commit29c66764bb286a527e65ff0483875a369491a2ee (patch)
treed4a0b66e27f943f70042c30c6186818de971b683 /src
parenta379c50acce33a1f5eb7e3cd87f5660c5fcf87d4 (diff)
configure_system: Remove external offset on custom rtc
Diffstat (limited to 'src')
-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 {