mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
sceNpFriendlist: some improvements
This commit is contained in:
parent
8f328b2624
commit
3832d4fa1c
1 changed files with 9 additions and 3 deletions
|
@ -2246,9 +2246,11 @@ error_code sceNpFriendlist(vm::ptr<SceNpFriendlistResultHandler> resultHandler,
|
|||
|
||||
if (!nph.is_NP_init)
|
||||
{
|
||||
return SCE_NP_CUSTOM_MENU_ERROR_NOT_INITIALIZED;
|
||||
return SCE_NP_FRIENDLIST_ERROR_NOT_INITIALIZED;
|
||||
}
|
||||
|
||||
// TODO: SCE_NP_FRIENDLIST_ERROR_BUSY
|
||||
|
||||
if (!resultHandler)
|
||||
{
|
||||
return SCE_NP_FRIENDLIST_ERROR_INVALID_ARGUMENT;
|
||||
|
@ -2265,9 +2267,11 @@ error_code sceNpFriendlistCustom(SceNpFriendlistCustomOptions options, vm::ptr<S
|
|||
|
||||
if (!nph.is_NP_init)
|
||||
{
|
||||
return SCE_NP_CUSTOM_MENU_ERROR_NOT_INITIALIZED;
|
||||
return SCE_NP_FRIENDLIST_ERROR_NOT_INITIALIZED;
|
||||
}
|
||||
|
||||
// TODO: SCE_NP_FRIENDLIST_ERROR_BUSY
|
||||
|
||||
if (!resultHandler)
|
||||
{
|
||||
return SCE_NP_FRIENDLIST_ERROR_INVALID_ARGUMENT;
|
||||
|
@ -2284,9 +2288,11 @@ error_code sceNpFriendlistAbortGui()
|
|||
|
||||
if (!nph.is_NP_init)
|
||||
{
|
||||
return SCE_NP_CUSTOM_MENU_ERROR_NOT_INITIALIZED;
|
||||
return SCE_NP_FRIENDLIST_ERROR_NOT_INITIALIZED;
|
||||
}
|
||||
|
||||
// TODO: abort friendlist GUI interaction
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue