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 | da3c2dc90ce760fd7605f982e36d3e4f822de42f (patch) | |
| tree | 9833fb69b1bd34105ea7d43dc74977c0c88e9fb3 /src/core/hle/service/time/time_manager.cpp | |
| parent | 51c445f7e8ab4aa44898669bc361f5b4e3e5592e (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 c1e4e6cce1..15a2d99e89 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); |
