diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-05-21 15:45:44 -0400 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-06-05 15:15:11 -0400 |
commit | 011438fa9580c9b03934c7267760674355b83c1d (patch) | |
tree | d4a0b66e27f943f70042c30c6186818de971b683 /src/yuzu/configuration/configure_system.cpp | |
parent | a39b9134db9c205e4a01105f5a610142428c347e (diff) |
configure_system: Remove external offset on custom rtc
Diffstat (limited to 'src/yuzu/configuration/configure_system.cpp')
-rw-r--r-- | src/yuzu/configuration/configure_system.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cpp index 286ccc5cd..f1ae312c6 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 { |