mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 11:18:36 +12:00
Improve boot dir access
Add Emu.GetDir() method
This commit is contained in:
parent
c8a6bc6e24
commit
f4d2fccdfe
5 changed files with 23 additions and 13 deletions
|
@ -196,9 +196,9 @@ error_code sceNpTrophyCreateContext(vm::ptr<u32> context, vm::cptr<SceNpCommunic
|
|||
}
|
||||
|
||||
// open trophy pack file
|
||||
fs::file stream(vfs::get("/dev_hdd0/game/" + Emu.GetTitleID() + "/TROPDIR/" + name + "/TROPHY.TRP"));
|
||||
fs::file stream(vfs::get(Emu.GetDir() + "TROPDIR/" + name + "/TROPHY.TRP"));
|
||||
|
||||
if (!stream && (Emu.GetCat() == "DG" || Emu.GetCat() == "GD"))
|
||||
if (!stream && Emu.GetCat() == "GD")
|
||||
{
|
||||
stream.open(vfs::get("/dev_bdvd/PS3_GAME/TROPDIR/" + name + "/TROPHY.TRP"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue