diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-02-05 06:40:48 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-02-05 19:18:46 +0100 |
commit | ee0547e4c4d38d681d9cd3b9f7071c4dade9110d (patch) | |
tree | 9833fb69b1bd34105ea7d43dc74977c0c88e9fb3 /src/core/hle/service/time/clock_types.h | |
parent | input/hid: Migrate to the new UUID implementation (diff) | |
download | yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.tar yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.tar.gz yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.tar.bz2 yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.tar.lz yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.tar.xz yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.tar.zst yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.zip |
Diffstat (limited to 'src/core/hle/service/time/clock_types.h')
-rw-r--r-- | src/core/hle/service/time/clock_types.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/time/clock_types.h b/src/core/hle/service/time/clock_types.h index 392e16863..23d6c859b 100644 --- a/src/core/hle/service/time/clock_types.h +++ b/src/core/hle/service/time/clock_types.h @@ -6,7 +6,7 @@ #include "common/common_funcs.h" #include "common/common_types.h" -#include "common/uuid.h" +#include "common/new_uuid.h" #include "core/hle/service/time/errors.h" #include "core/hle/service/time/time_zone_types.h" @@ -21,7 +21,7 @@ enum class TimeType : u8 { /// https://switchbrew.org/wiki/Glue_services#SteadyClockTimePoint struct SteadyClockTimePoint { s64 time_point; - Common::UUID clock_source_id; + Common::NewUUID clock_source_id; ResultCode GetSpanBetween(SteadyClockTimePoint other, s64& span) const { span = 0; @@ -36,7 +36,7 @@ struct SteadyClockTimePoint { } static SteadyClockTimePoint GetRandom() { - return {0, Common::UUID::Generate()}; + return {0, Common::NewUUID::MakeRandom()}; } }; static_assert(sizeof(SteadyClockTimePoint) == 0x18, "SteadyClockTimePoint is incorrect size"); @@ -45,7 +45,7 @@ static_assert(std::is_trivially_copyable_v<SteadyClockTimePoint>, struct SteadyClockContext { u64 internal_offset; - Common::UUID steady_time_point; + Common::NewUUID steady_time_point; }; static_assert(sizeof(SteadyClockContext) == 0x18, "SteadyClockContext is incorrect size"); static_assert(std::is_trivially_copyable_v<SteadyClockContext>, |