diff options
| author | 2018-11-01 19:10:26 -0400 | |
|---|---|---|
| committer | 2018-11-01 19:10:26 -0400 | |
| commit | 1069eced8482bd01be9fd305447ef94a82c4c999 (patch) | |
| tree | 5ed2254962898473242829701edef6fd323c6b6d /src/core/hle | |
| parent | Merge pull request #1623 from Tinob/master (diff) | |
| parent | configure_system: Contrain profile usernames to 32 characters (diff) | |
| download | yuzu-1069eced8482bd01be9fd305447ef94a82c4c999.tar.gz yuzu-1069eced8482bd01be9fd305447ef94a82c4c999.tar.xz yuzu-1069eced8482bd01be9fd305447ef94a82c4c999.zip | |
Merge pull request #1615 from lioncash/input
configure_system: Contrain profile usernames to 32 characters
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/service/acc/profile_manager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/acc/profile_manager.h b/src/core/hle/service/acc/profile_manager.h index 1cd2e51b2..747c46c20 100644 --- a/src/core/hle/service/acc/profile_manager.h +++ b/src/core/hle/service/acc/profile_manager.h | |||
| @@ -57,7 +57,8 @@ struct UUID { | |||
| 57 | }; | 57 | }; |
| 58 | static_assert(sizeof(UUID) == 16, "UUID is an invalid size!"); | 58 | static_assert(sizeof(UUID) == 16, "UUID is an invalid size!"); |
| 59 | 59 | ||
| 60 | using ProfileUsername = std::array<u8, 0x20>; | 60 | constexpr std::size_t profile_username_size = 32; |
| 61 | using ProfileUsername = std::array<u8, profile_username_size>; | ||
| 61 | using ProfileData = std::array<u8, MAX_DATA>; | 62 | using ProfileData = std::array<u8, MAX_DATA>; |
| 62 | using UserIDArray = std::array<UUID, MAX_USERS>; | 63 | using UserIDArray = std::array<UUID, MAX_USERS>; |
| 63 | 64 | ||