mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-22 22:07:48 +00:00
Merge pull request #10603 from lat9nq/tz-more-complete
core,common: Implement missing time zone data/computations
This commit is contained in:
commit
4abd6e552c
19 changed files with 550 additions and 710 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue