mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 01:08:39 +12: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;
|
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;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue