Allow null argument

Should fix Jak 2
This commit is contained in:
Farseer 2017-09-21 11:21:43 +03:00 committed by Ivan
parent daa7520d1d
commit 2b0edf6cde
1 changed files with 5 additions and 1 deletions

View File

@ -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);
*platinumId = SCE_NP_TROPHY_INVALID_TROPHY_ID; // TODO if (platinumId)
{
*platinumId = SCE_NP_TROPHY_INVALID_TROPHY_ID; // TODO
}
return CELL_OK; return CELL_OK;
} }