diff options
author | german77 <juangerman-13@hotmail.com> | 2023-09-24 04:12:23 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2023-09-24 04:14:37 +0200 |
commit | bb28f4a0c4f457bc19ecfe550437644ebbc21a47 (patch) | |
tree | 8c96d11bd0a8746a9bfdf9d1bc15aacd068a4d32 /src/core/hle | |
parent | service: hid: Set last connected controller as active (diff) | |
download | yuzu-bb28f4a0c4f457bc19ecfe550437644ebbc21a47.tar yuzu-bb28f4a0c4f457bc19ecfe550437644ebbc21a47.tar.gz yuzu-bb28f4a0c4f457bc19ecfe550437644ebbc21a47.tar.bz2 yuzu-bb28f4a0c4f457bc19ecfe550437644ebbc21a47.tar.lz yuzu-bb28f4a0c4f457bc19ecfe550437644ebbc21a47.tar.xz yuzu-bb28f4a0c4f457bc19ecfe550437644ebbc21a47.tar.zst yuzu-bb28f4a0c4f457bc19ecfe550437644ebbc21a47.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/mii/mii_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/mii/mii_types.h b/src/core/hle/service/mii/mii_types.h index f43efd83c..08c6029df 100644 --- a/src/core/hle/service/mii/mii_types.h +++ b/src/core/hle/service/mii/mii_types.h @@ -614,7 +614,7 @@ struct Nickname { } std::size_t index = 1; - while (data[index] != 0) { + while (index < MaxNameSize && data[index] != 0) { index++; } while (index < MaxNameSize && data[index] == 0) { |