mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
Signaling: report status inactive on unknown connection
This commit is contained in:
parent
8cd6b9275a
commit
bcce3acd5f
2 changed files with 15 additions and 0 deletions
|
|
@ -5300,7 +5300,10 @@ error_code sceNpSignalingGetConnectionStatus(u32 ctx_id, u32 conn_id, vm::ptr<s3
|
|||
const auto si = sigh.get_sig_infos(conn_id);
|
||||
|
||||
if (!si)
|
||||
{
|
||||
*conn_status = SCE_NP_SIGNALING_CONN_STATUS_INACTIVE;
|
||||
return SCE_NP_SIGNALING_ERROR_CONN_NOT_FOUND;
|
||||
}
|
||||
|
||||
*conn_status = si->conn_status;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue