mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
Implement sceNpUtilCmpNpId
Will need a full implementation of emulated network to be "fully" implemented.
This commit is contained in:
parent
b073ead988
commit
8d2b6f6054
2 changed files with 26 additions and 2 deletions
|
@ -1445,9 +1445,16 @@ s32 sceNpSignalingGetPeerNetInfoResult()
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 sceNpUtilCmpNpId()
|
||||
s32 sceNpUtilCmpNpId(vm::ptr<SceNpId> id1, vm::ptr<SceNpId> id2)
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
sceNp.warning("sceNpUtilCmpNpId(id1=*0x%x, id2=*0x%x)", id1, id2);
|
||||
|
||||
// TODO: Improve the comparison.
|
||||
if (strcmp(id1->handle.data, id2->handle.data) != 0)
|
||||
{
|
||||
return SCE_NP_UTIL_ERROR_NOT_MATCH;
|
||||
}
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue