summaryrefslogtreecommitdiffstats
path: root/src/common/uuid.h
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-04-29 13:09:53 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2020-04-29 13:09:53 +0200
commit1417849a2b3689b46a8969f0ba2a0382ddefb8d1 (patch)
tree8a3d92e8e1d34ff1ab68dc772c9dff6061e31bf8 /src/common/uuid.h
parentMerge pull request #3771 from benru/dump-romfs-with-updates (diff)
downloadyuzu-1417849a2b3689b46a8969f0ba2a0382ddefb8d1.tar
yuzu-1417849a2b3689b46a8969f0ba2a0382ddefb8d1.tar.gz
yuzu-1417849a2b3689b46a8969f0ba2a0382ddefb8d1.tar.bz2
yuzu-1417849a2b3689b46a8969f0ba2a0382ddefb8d1.tar.lz
yuzu-1417849a2b3689b46a8969f0ba2a0382ddefb8d1.tar.xz
yuzu-1417849a2b3689b46a8969f0ba2a0382ddefb8d1.tar.zst
yuzu-1417849a2b3689b46a8969f0ba2a0382ddefb8d1.zip
Diffstat (limited to 'src/common/uuid.h')
-rw-r--r--src/common/uuid.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/uuid.h b/src/common/uuid.h
index f6ad064fb..4d3af8cec 100644
--- a/src/common/uuid.h
+++ b/src/common/uuid.h
@@ -40,6 +40,11 @@ struct UUID {
uuid = INVALID_UUID;
}
+ // TODO(ogniK): Properly generate a Nintendo ID
+ constexpr u64 GetNintendoID() const {
+ return uuid[0];
+ }
+
std::string Format() const;
std::string FormatSwitch() const;
};