Skip to content

Commit

Permalink
sceNpTrophyGetRequiredDiskSpace: take vfs into account for trophy dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Megamouse authored and Nekotekina committed Feb 21, 2018
1 parent b60f292 commit ae7e275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/Emu/Cell/Modules/sceNpTrophy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ae7e275

Please sign in to comment.