mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 11:18:36 +12:00
hle: Add some more functions
This commit is contained in:
parent
ec2d882199
commit
1d947daa81
7 changed files with 124 additions and 6 deletions
|
@ -145,6 +145,12 @@ error_code sceNpTrophyDestroyHandle(u32 handle)
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code sceNpTrophyGetGameDetails()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTrophy);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code sceNpTrophyAbortHandle(u32 handle)
|
||||
{
|
||||
sceNpTrophy.todo("sceNpTrophyAbortHandle(handle=0x%x)", handle);
|
||||
|
@ -523,6 +529,12 @@ error_code sceNpTrophyGetGameInfo(u32 context, u32 handle, vm::ptr<SceNpTrophyGa
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code sceNpTrophyGetLatestTrophies()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTrophy);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code sceNpTrophyUnlockTrophy(u32 context, u32 handle, s32 trophyId, vm::ptr<u32> platinumId)
|
||||
{
|
||||
sceNpTrophy.error("sceNpTrophyUnlockTrophy(context=0x%x, handle=0x%x, trophyId=%d, platinumId=*0x%x)", context, handle, trophyId, platinumId);
|
||||
|
@ -632,6 +644,12 @@ error_code sceNpTrophyGetTrophyUnlockState(u32 context, u32 handle, vm::ptr<SceN
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code sceNpTrophyGetTrophyDetails()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTrophy);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code sceNpTrophyGetTrophyInfo(u32 context, u32 handle, s32 trophyId, vm::ptr<SceNpTrophyDetails> details, vm::ptr<SceNpTrophyData> data)
|
||||
{
|
||||
sceNpTrophy.warning("sceNpTrophyGetTrophyInfo(context=0x%x, handle=0x%x, trophyId=%d, details=*0x%x, data=*0x%x)", context, handle, trophyId, details, data);
|
||||
|
@ -889,12 +907,15 @@ DECLARE(ppu_module_manager::sceNpTrophy)("sceNpTrophy", []()
|
|||
REG_FUNC(sceNpTrophy, sceNpTrophyAbortHandle);
|
||||
REG_FUNC(sceNpTrophy, sceNpTrophyGetGameInfo);
|
||||
REG_FUNC(sceNpTrophy, sceNpTrophyDestroyHandle);
|
||||
REG_FUNC(sceNpTrophy, sceNpTrophyGetGameDetails);
|
||||
REG_FUNC(sceNpTrophy, sceNpTrophyUnlockTrophy);
|
||||
REG_FUNC(sceNpTrophy, sceNpTrophyGetLatestTrophies);
|
||||
REG_FUNC(sceNpTrophy, sceNpTrophyTerm);
|
||||
REG_FUNC(sceNpTrophy, sceNpTrophyGetTrophyUnlockState);
|
||||
REG_FUNC(sceNpTrophy, sceNpTrophyGetUserInfo);
|
||||
REG_FUNC(sceNpTrophy, sceNpTrophyGetTrophyIcon);
|
||||
REG_FUNC(sceNpTrophy, sceNpTrophyCreateContext);
|
||||
REG_FUNC(sceNpTrophy, sceNpTrophyGetTrophyDetails);
|
||||
REG_FUNC(sceNpTrophy, sceNpTrophyGetTrophyInfo);
|
||||
REG_FUNC(sceNpTrophy, sceNpTrophyGetGameIcon);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue