Procházet zdrojové kódy

configure_system: Remove external offset on custom rtc

lat9nq před 3 roky
rodič
revize
011438fa95
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 2
      src/yuzu/configuration/configure_system.cpp

+ 1 - 2
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 {