diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-02-05 00:40:48 -0500 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-02-05 13:18:46 -0500 |
| commit | ee0547e4c4d38d681d9cd3b9f7071c4dade9110d (patch) | |
| tree | 9833fb69b1bd34105ea7d43dc74977c0c88e9fb3 /src/core/hle/service/time/time_manager.cpp | |
| parent | cb30fe50cd074fe05dd1d6e4b0d58116d3d98489 (diff) | |
service: Migrate to the new UUID implementation
Diffstat (limited to 'src/core/hle/service/time/time_manager.cpp')
| -rw-r--r-- | src/core/hle/service/time/time_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/time/time_manager.cpp b/src/core/hle/service/time/time_manager.cpp index c1e4e6cce..15a2d99e8 100644 --- a/src/core/hle/service/time/time_manager.cpp +++ b/src/core/hle/service/time/time_manager.cpp @@ -45,7 +45,7 @@ struct TimeManager::Impl final { time_zone_content_manager{system} { const auto system_time{Clock::TimeSpanType::FromSeconds(GetExternalRtcValue())}; - SetupStandardSteadyClock(system, Common::UUID::Generate(), system_time, {}, {}); + SetupStandardSteadyClock(system, Common::NewUUID::MakeRandom(), system_time, {}, {}); SetupStandardLocalSystemClock(system, {}, system_time.ToSeconds()); Clock::SystemClockContext clock_context{}; @@ -132,7 +132,7 @@ struct TimeManager::Impl final { return 0; } - void SetupStandardSteadyClock(Core::System& system_, Common::UUID clock_source_id, + void SetupStandardSteadyClock(Core::System& system_, Common::NewUUID clock_source_id, Clock::TimeSpanType setup_value, Clock::TimeSpanType internal_offset, bool is_rtc_reset_detected) { standard_steady_clock_core.SetClockSourceId(clock_source_id); |
