Merge pull request #1615 from lioncash/input
configure_system: Contrain profile usernames to 32 characters
This commit is contained in:
commit
1069eced84
5 changed files with 114 additions and 26 deletions
|
@ -57,7 +57,8 @@ struct UUID {
|
|||
};
|
||||
static_assert(sizeof(UUID) == 16, "UUID is an invalid size!");
|
||||
|
||||
using ProfileUsername = std::array<u8, 0x20>;
|
||||
constexpr std::size_t profile_username_size = 32;
|
||||
using ProfileUsername = std::array<u8, profile_username_size>;
|
||||
using ProfileData = std::array<u8, MAX_DATA>;
|
||||
using UserIDArray = std::array<UUID, MAX_USERS>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue