sceNpTrophyGetRequiredDiskSpace: take vfs into account for trophy dir

This commit is contained in:
Megamouse 2018-02-10 15:02:02 +01:00 committed by Ivan
parent b60f29282a
commit ae7e275a9d
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ error_code sceNpTrophyGetRequiredDiskSpace(u32 context, u32 handle, vm::ptr<u64>
return SCE_NP_TROPHY_ERROR_UNKNOWN_HANDLE;
}
if (!fs::is_dir("/dev_hdd0/home/00000001/trophy/" + ctxt->trp_name))
if (!fs::is_dir(vfs::get("/dev_hdd0/home/00000001/trophy/" + ctxt->trp_name)))
{
TRPLoader trp(ctxt->trp_stream);