mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
Set PSN to disconnected when net status is disconnected
This commit is contained in:
parent
1b5d9a34df
commit
324af04426
3 changed files with 17 additions and 1 deletions
|
|
@ -858,7 +858,7 @@ namespace np
|
|||
presence_self.pr_data = {};
|
||||
presence_self.advertised = false;
|
||||
|
||||
if (g_cfg.net.psn_status == np_psn_status::psn_rpcn)
|
||||
if (is_connected && is_psn_active && rpcn)
|
||||
{
|
||||
rpcn_log.notice("Setting RPCN state to disconnected!");
|
||||
rpcn->reset_state();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue