mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
sceNpMatching2CreateContext checks psn state (#11887)
This commit is contained in:
parent
e9570d1a00
commit
5746df4046
@ -1171,6 +1171,11 @@ error_code sceNpMatching2CreateContext(
|
||||
return SCE_NP_MATCHING2_ERROR_INVALID_ARGUMENT;
|
||||
}
|
||||
|
||||
if (nph.get_psn_status() != SCE_NP_MANAGER_STATUS_ONLINE)
|
||||
{
|
||||
return SCE_NP_MATCHING2_ERROR_NOT_NP_SIGN_IN;
|
||||
}
|
||||
|
||||
*ctxId = create_match2_context(commId, passPhrase);
|
||||
|
||||
return CELL_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user