mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-20 15:40:30 +01:00
sceNp: add missing withPassword check
This commit is contained in:
parent
ffe1b287a8
commit
2c424a0911
|
|
@ -1465,12 +1465,12 @@ error_code sceNpMatching2GetRoomPasswordLocal(SceNpMatching2ContextId ctxId, Sce
|
|||
|
||||
if (password)
|
||||
{
|
||||
*withPassword = true;
|
||||
if (withPassword) *withPassword = true;
|
||||
memcpy(roomPassword.get_ptr(), &*password, sizeof(SceNpMatching2SessionPassword));
|
||||
}
|
||||
else
|
||||
{
|
||||
*withPassword = false;
|
||||
if (withPassword) *withPassword = false;
|
||||
}
|
||||
|
||||
return CELL_OK;
|
||||
|
|
|
|||
Loading…
Reference in a new issue