summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/acc
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-02 00:10:26 +0100
committerGitHub <noreply@github.com>2018-11-02 00:10:26 +0100
commit1069eced8482bd01be9fd305447ef94a82c4c999 (patch)
tree5ed2254962898473242829701edef6fd323c6b6d /src/core/hle/service/acc
parentMerge pull request #1623 from Tinob/master (diff)
parentconfigure_system: Contrain profile usernames to 32 characters (diff)
downloadyuzu-1069eced8482bd01be9fd305447ef94a82c4c999.tar
yuzu-1069eced8482bd01be9fd305447ef94a82c4c999.tar.gz
yuzu-1069eced8482bd01be9fd305447ef94a82c4c999.tar.bz2
yuzu-1069eced8482bd01be9fd305447ef94a82c4c999.tar.lz
yuzu-1069eced8482bd01be9fd305447ef94a82c4c999.tar.xz
yuzu-1069eced8482bd01be9fd305447ef94a82c4c999.tar.zst
yuzu-1069eced8482bd01be9fd305447ef94a82c4c999.zip
Diffstat (limited to 'src/core/hle/service/acc')
-rw-r--r--src/core/hle/service/acc/profile_manager.h3
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 {
};
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>;