mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
core: Update clocks when settings are saved
This commit is contained in:
parent
c84c35ac74
commit
0fe935a5de
1 changed files with 4 additions and 0 deletions
|
@ -1078,6 +1078,10 @@ void System::ApplySettings() {
|
||||||
impl->RefreshTime();
|
impl->RefreshTime();
|
||||||
|
|
||||||
if (IsPoweredOn()) {
|
if (IsPoweredOn()) {
|
||||||
|
if (Settings::values.custom_rtc_enabled) {
|
||||||
|
const s64 posix_time{Settings::values.custom_rtc.GetValue()};
|
||||||
|
GetTimeManager().UpdateLocalSystemClockTime(posix_time);
|
||||||
|
}
|
||||||
Renderer().RefreshBaseSettings();
|
Renderer().RefreshBaseSettings();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue