mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00: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
|
|
@ -290,8 +290,8 @@ void _sys_process_exit2(ppu_thread& ppu, s32 status, vm::ptr<sys_exit2_param> ar
|
|||
|
||||
if (Emu.GetCat() == "DG" || Emu.GetCat() == "GD")
|
||||
disc = vfs::get("/dev_bdvd/");
|
||||
else if (Emu.GetTitleID().size())
|
||||
disc = vfs::get("/dev_hdd0/game/" + Emu.GetTitleID() + "/");
|
||||
if (disc.empty() && Emu.GetTitleID().size())
|
||||
disc = vfs::get(Emu.GetDir());
|
||||
|
||||
vm::temporary_unlock(ppu);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue