mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
sceNpBasicAddBlockListEntry: Add connection check
This commit is contained in:
parent
963d5fb981
commit
a5b3b0df40
1 changed files with 5 additions and 0 deletions
|
@ -1138,6 +1138,11 @@ error_code sceNpBasicAddBlockListEntry(vm::cptr<SceNpId> npid)
|
|||
return SCE_NP_BASIC_ERROR_INVALID_ARGUMENT;
|
||||
}
|
||||
|
||||
if (g_psn_connection_status != SCE_NP_MANAGER_STATUS_ONLINE)
|
||||
{
|
||||
return SCE_NP_BASIC_ERROR_NOT_CONNECTED;
|
||||
}
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue