mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-02 22:30:39 +00:00
sceNpFriendlist: more checks
This commit is contained in:
parent
ef6041c14f
commit
a08d60fbbe
1 changed files with 15 additions and 1 deletions
|
@ -2563,6 +2563,13 @@ error_code sceNpFriendlist(vm::ptr<SceNpFriendlistResultHandler> resultHandler,
|
||||||
return SCE_NP_FRIENDLIST_ERROR_INVALID_ARGUMENT;
|
return SCE_NP_FRIENDLIST_ERROR_INVALID_ARGUMENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vm::var<SceNpId> id;
|
||||||
|
error_code err = sceNpManagerGetNpId(id);
|
||||||
|
if (err != CELL_OK)
|
||||||
|
return err;
|
||||||
|
|
||||||
|
// TODO: handler
|
||||||
|
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2584,6 +2591,13 @@ error_code sceNpFriendlistCustom(SceNpFriendlistCustomOptions options, vm::ptr<S
|
||||||
return SCE_NP_FRIENDLIST_ERROR_INVALID_ARGUMENT;
|
return SCE_NP_FRIENDLIST_ERROR_INVALID_ARGUMENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vm::var<SceNpId> id;
|
||||||
|
error_code err = sceNpManagerGetNpId(id);
|
||||||
|
if (err != CELL_OK)
|
||||||
|
return err;
|
||||||
|
|
||||||
|
// TODO: handler
|
||||||
|
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3254,7 +3268,7 @@ error_code sceNpManagerGetOnlineId(vm::ptr<SceNpOnlineId> onlineId)
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
error_code sceNpManagerGetNpId(ppu_thread&, vm::ptr<SceNpId> npId)
|
error_code sceNpManagerGetNpId(vm::ptr<SceNpId> npId)
|
||||||
{
|
{
|
||||||
sceNp.trace("sceNpManagerGetNpId(npId=*0x%x)", npId);
|
sceNp.trace("sceNpManagerGetNpId(npId=*0x%x)", npId);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue