summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-10-04 04:09:10 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2023-10-04 04:20:26 +0200
commit0fe935a5de9a3dcdc21010f4fa30f4854f2eae10 (patch)
tree7cff80682a19f1853e2b8416db978785b8a37536
parentyuzu: Fix mute when in background setting (diff)
downloadyuzu-0fe935a5de9a3dcdc21010f4fa30f4854f2eae10.tar
yuzu-0fe935a5de9a3dcdc21010f4fa30f4854f2eae10.tar.gz
yuzu-0fe935a5de9a3dcdc21010f4fa30f4854f2eae10.tar.bz2
yuzu-0fe935a5de9a3dcdc21010f4fa30f4854f2eae10.tar.lz
yuzu-0fe935a5de9a3dcdc21010f4fa30f4854f2eae10.tar.xz
yuzu-0fe935a5de9a3dcdc21010f4fa30f4854f2eae10.tar.zst
yuzu-0fe935a5de9a3dcdc21010f4fa30f4854f2eae10.zip
-rw-r--r--src/core/core.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 08cbb8978..0ab2e3b76 100644
--- a/src/core/core.cpp
+++ b/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();
}
}