summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-09-17 21:23:57 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-09-17 21:23:57 +0200
commit77682aabd3a8c4dbda3dd20421a5dea16b6ef86d (patch)
tree49b2f189ca12a0b65169794ddd072f4cb1a734ff /src
parentMerge pull request #11524 from t895/signing-ci (diff)
downloadyuzu-77682aabd3a8c4dbda3dd20421a5dea16b6ef86d.tar
yuzu-77682aabd3a8c4dbda3dd20421a5dea16b6ef86d.tar.gz
yuzu-77682aabd3a8c4dbda3dd20421a5dea16b6ef86d.tar.bz2
yuzu-77682aabd3a8c4dbda3dd20421a5dea16b6ef86d.tar.lz
yuzu-77682aabd3a8c4dbda3dd20421a5dea16b6ef86d.tar.xz
yuzu-77682aabd3a8c4dbda3dd20421a5dea16b6ef86d.tar.zst
yuzu-77682aabd3a8c4dbda3dd20421a5dea16b6ef86d.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/mii/mii_types.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hle/service/mii/mii_types.h b/src/core/hle/service/mii/mii_types.h
index 95476f745..611ff4f81 100644
--- a/src/core/hle/service/mii/mii_types.h
+++ b/src/core/hle/service/mii/mii_types.h
@@ -606,15 +606,12 @@ struct Nickname {
static constexpr std::size_t MaxNameSize = 10;
std::array<char16_t, MaxNameSize> data;
- // Checks for null, non-zero terminated or dirty strings
+ // Checks for null or dirty strings
bool IsValid() const {
if (data[0] == 0) {
return false;
}
- if (data[MaxNameSize] != 0) {
- return false;
- }
std::size_t index = 1;
while (data[index] != 0) {
index++;