acc: Return a unique value per account for GetAccountId

This commit is contained in:
David Marcec 2020-04-29 21:09:53 +10:00
parent 8e64fb3225
commit 1417849a2b
2 changed files with 13 additions and 5 deletions

View file

@ -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;
};