mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Trophy: check both bdvd and hdd locations
This commit is contained in:
parent
e836c33f37
commit
a92bf39efa
1 changed files with 6 additions and 1 deletions
|
@ -196,7 +196,12 @@ error_code sceNpTrophyCreateContext(vm::ptr<u32> context, vm::cptr<SceNpCommunic
|
|||
}
|
||||
|
||||
// open trophy pack file
|
||||
fs::file stream(vfs::get((Emu.GetCat() == "DG" || Emu.GetCat() == "GD" ? "/dev_bdvd/PS3_GAME/TROPDIR/"s : "/dev_hdd0/game/" + Emu.GetTitleID() + "/TROPDIR/") + name + "/TROPHY.TRP"));
|
||||
fs::file stream(vfs::get("/dev_hdd0/game/" + Emu.GetTitleID() + "/TROPDIR/" + name + "/TROPHY.TRP"));
|
||||
|
||||
if (!stream && (Emu.GetCat() == "DG" || Emu.GetCat() == "GD"))
|
||||
{
|
||||
stream.open(vfs::get("/dev_bdvd/PS3_GAME/TROPDIR/" + name + "/TROPHY.TRP"));
|
||||
}
|
||||
|
||||
// check if exists and opened
|
||||
if (!stream)
|
||||
|
|
Loading…
Add table
Reference in a new issue