summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/time/time_manager.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-04-08 19:26:38 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-04-08 19:26:38 +0200
commit2283fccc1bb09e8d1266ffb60d7696f97dfddd17 (patch)
treed11d859d545f05df28a1f0484e1168e691163c83 /src/core/hle/service/time/time_manager.cpp
parentMerge pull request #6160 from Morph1984/fs-update-12.x (diff)
downloadyuzu-2283fccc1bb09e8d1266ffb60d7696f97dfddd17.tar
yuzu-2283fccc1bb09e8d1266ffb60d7696f97dfddd17.tar.gz
yuzu-2283fccc1bb09e8d1266ffb60d7696f97dfddd17.tar.bz2
yuzu-2283fccc1bb09e8d1266ffb60d7696f97dfddd17.tar.lz
yuzu-2283fccc1bb09e8d1266ffb60d7696f97dfddd17.tar.xz
yuzu-2283fccc1bb09e8d1266ffb60d7696f97dfddd17.tar.zst
yuzu-2283fccc1bb09e8d1266ffb60d7696f97dfddd17.zip
Diffstat (limited to 'src/core/hle/service/time/time_manager.cpp')
-rw-r--r--src/core/hle/service/time/time_manager.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/service/time/time_manager.cpp b/src/core/hle/service/time/time_manager.cpp
index 1f7309f6b..51becd074 100644
--- a/src/core/hle/service/time/time_manager.cpp
+++ b/src/core/hle/service/time/time_manager.cpp
@@ -44,7 +44,11 @@ struct TimeManager::Impl final {
const auto system_time{Clock::TimeSpanType::FromSeconds(GetExternalRtcValue())};
SetupStandardSteadyClock(system, Common::UUID::Generate(), system_time, {}, {});
SetupStandardLocalSystemClock(system, {}, system_time.ToSeconds());
- SetupStandardNetworkSystemClock({}, standard_network_clock_accuracy);
+
+ Clock::SystemClockContext clock_context{};
+ standard_local_system_clock_core.GetClockContext(system, clock_context);
+
+ SetupStandardNetworkSystemClock(clock_context, standard_network_clock_accuracy);
SetupStandardUserSystemClock(system, {}, Clock::SteadyClockTimePoint::GetRandom());
SetupEphemeralNetworkSystemClock();
}