diff options
author | german77 <juangerman-13@hotmail.com> | 2023-09-17 20:11:31 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-09-18 19:08:04 +0200 |
commit | dca36ebb871d55ca825bb0090949acb59f859f07 (patch) | |
tree | 3fe9611ae0e2686f49a902daa4871f3c368f600b /src/core/hle/service/mii/mii_types.h | |
parent | service: mii: Implement the rest of the service (diff) | |
download | yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.tar yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.tar.gz yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.tar.bz2 yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.tar.lz yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.tar.xz yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.tar.zst yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.zip |
Diffstat (limited to 'src/core/hle/service/mii/mii_types.h')
-rw-r--r-- | src/core/hle/service/mii/mii_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/mii/mii_types.h b/src/core/hle/service/mii/mii_types.h index 9efe6c915..f43efd83c 100644 --- a/src/core/hle/service/mii/mii_types.h +++ b/src/core/hle/service/mii/mii_types.h @@ -13,6 +13,7 @@ namespace Service::Mii { +constexpr std::size_t MaxNameSize = 10; constexpr u8 MaxHeight = 127; constexpr u8 MaxBuild = 127; constexpr u8 MaxType = 1; @@ -604,8 +605,7 @@ enum class ValidationResult : u32 { }; struct Nickname { - static constexpr std::size_t MaxNameSize = 10; - std::array<char16_t, MaxNameSize> data; + std::array<char16_t, MaxNameSize> data{}; // Checks for null or dirty strings bool IsValid() const { |