Browse Source

core: Update clocks when settings are saved

pull/15/merge
Narr the Reg 2 years ago
parent
commit
0fe935a5de
  1. 4
      src/core/core.cpp

4
src/core/core.cpp

@ -1078,6 +1078,10 @@ void System::ApplySettings() {
impl->RefreshTime();
if (IsPoweredOn()) {
if (Settings::values.custom_rtc_enabled) {
const s64 posix_time{Settings::values.custom_rtc.GetValue()};
GetTimeManager().UpdateLocalSystemClockTime(posix_time);
}
Renderer().RefreshBaseSettings();
}
}

Loading…
Cancel
Save