mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
sceNp: add missing roomPassword check
This commit is contained in:
parent
2c424a0911
commit
108d0d49ec
@ -1466,7 +1466,10 @@ error_code sceNpMatching2GetRoomPasswordLocal(SceNpMatching2ContextId ctxId, Sce
|
||||
if (password)
|
||||
{
|
||||
if (withPassword) *withPassword = true;
|
||||
memcpy(roomPassword.get_ptr(), &*password, sizeof(SceNpMatching2SessionPassword));
|
||||
if (roomPassword)
|
||||
{
|
||||
std::memcpy(roomPassword.get_ptr(), &*password, sizeof(SceNpMatching2SessionPassword));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user