From 00ff53499af7d8639e5b4a7ee26495d99d8c047b Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Fri, 22 Jan 2021 16:46:58 +0100 Subject: [PATCH] fix UserInfo2_to_SceNpUserInfo2 --- rpcs3/Emu/NP/fb_helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/NP/fb_helpers.cpp b/rpcs3/Emu/NP/fb_helpers.cpp index dd5b1f8537..15a9763bbc 100644 --- a/rpcs3/Emu/NP/fb_helpers.cpp +++ b/rpcs3/Emu/NP/fb_helpers.cpp @@ -41,7 +41,7 @@ void np_handler::RoomGroup_to_SceNpMatching2RoomGroup(const flatbuffers::Vector< void np_handler::UserInfo2_to_SceNpUserInfo2(const UserInfo2* user, SceNpUserInfo2* user_info) { if (user->npId()) - std::memcpy(user_info->npId.handle.data, user->npId()->c_str(), std::min(9, user->npId()->size())); + std::memcpy(user_info->npId.handle.data, user->npId()->c_str(), std::min(16, user->npId()->size())); if (user->onlineName()) {