mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Allow null argument
Should fix Jak 2
This commit is contained in:
parent
daa7520d1d
commit
2b0edf6cde
1 changed files with 5 additions and 1 deletions
|
@ -485,7 +485,11 @@ error_code sceNpTrophyUnlockTrophy(u32 context, u32 handle, s32 trophyId, vm::pt
|
||||||
std::string trophyPath = "/dev_hdd0/home/00000001/trophy/" + ctxt->trp_name + "/TROPUSR.DAT";
|
std::string trophyPath = "/dev_hdd0/home/00000001/trophy/" + ctxt->trp_name + "/TROPUSR.DAT";
|
||||||
ctxt->tropusr->Save(trophyPath);
|
ctxt->tropusr->Save(trophyPath);
|
||||||
|
|
||||||
|
if (platinumId)
|
||||||
|
{
|
||||||
*platinumId = SCE_NP_TROPHY_INVALID_TROPHY_ID; // TODO
|
*platinumId = SCE_NP_TROPHY_INVALID_TROPHY_ID; // TODO
|
||||||
|
}
|
||||||
|
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue