From d94dcaefa020dcfc89d655dcf5aa8dad998e0bf2 Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Sat, 5 Feb 2022 11:41:39 -0500 Subject: common: uuid: Add AsU128() This copies the internal bytes of the UUID into a u128 for backwards compatibility. This should not be used. --- src/common/new_uuid.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/new_uuid.h') diff --git a/src/common/new_uuid.h b/src/common/new_uuid.h index bd4468ad2..44665ad5a 100644 --- a/src/common/new_uuid.h +++ b/src/common/new_uuid.h @@ -83,6 +83,9 @@ struct NewUUID { */ size_t Hash() const noexcept; + /// DO NOT USE. Copies the contents of the UUID into a u128. + u128 AsU128() const; + /** * Creates a default UUID "yuzu Default UID". * -- cgit v1.2.3