Skip to content
Snippets Groups Projects
Commit 0fe935a5 authored by Narr the Reg's avatar Narr the Reg
Browse files

core: Update clocks when settings are saved

parent c84c35ac
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment