diff options
| author | 2023-10-07 10:55:21 -0400 | |
|---|---|---|
| committer | 2023-10-07 10:55:21 -0400 | |
| commit | fc4cde751381a19b9adc4895ab1e4e1d3c1ba7f3 (patch) | |
| tree | e7e06fb7378f75ca0e0223776950645740a21e19 /src/core/core.cpp | |
| parent | Merge pull request #11688 from Kelebek1/x8d42 (diff) | |
| parent | core: Update clocks when settings are saved (diff) | |
| download | yuzu-fc4cde751381a19b9adc4895ab1e4e1d3c1ba7f3.tar.gz yuzu-fc4cde751381a19b9adc4895ab1e4e1d3c1ba7f3.tar.xz yuzu-fc4cde751381a19b9adc4895ab1e4e1d3c1ba7f3.zip | |
Merge pull request #11669 from german77/settings2
yuzu: Fix custom rtc and mute audio settings
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 4 |
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() { | |||
| 1078 | impl->RefreshTime(); | 1078 | impl->RefreshTime(); |
| 1079 | 1079 | ||
| 1080 | if (IsPoweredOn()) { | 1080 | if (IsPoweredOn()) { |
| 1081 | if (Settings::values.custom_rtc_enabled) { | ||
| 1082 | const s64 posix_time{Settings::values.custom_rtc.GetValue()}; | ||
| 1083 | GetTimeManager().UpdateLocalSystemClockTime(posix_time); | ||
| 1084 | } | ||
| 1081 | Renderer().RefreshBaseSettings(); | 1085 | Renderer().RefreshBaseSettings(); |
| 1082 | } | 1086 | } |
| 1083 | } | 1087 | } |