mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
Cleaning after PoorRequest
This commit is contained in:
parent
ae265f7586
commit
420bfef214
|
|
@ -422,16 +422,16 @@ void Emulator::Load()
|
|||
|
||||
if (m_elf_path.empty())
|
||||
{
|
||||
if (!bdvd_dir.empty() && fs::is_dir(bdvd_dir))
|
||||
if (m_path.find(vfs::get("/dev_hdd0/game/")) != -1)
|
||||
{
|
||||
m_elf_path = "/dev_hdd0/game/" + m_path.substr(vfs::get("/dev_hdd0/game/").size());
|
||||
}
|
||||
else if (!bdvd_dir.empty() && fs::is_dir(bdvd_dir))
|
||||
{
|
||||
//Disc games are on /dev_bdvd/
|
||||
size_t pos = m_path.rfind("PS3_GAME");
|
||||
m_elf_path = "/dev_bdvd/" + m_path.substr(pos);
|
||||
}
|
||||
else if (m_path.find(vfs::get("/dev_hdd0/game/")) != -1)
|
||||
{
|
||||
m_elf_path = "/dev_hdd0/game/" + m_path.substr(vfs::get("/dev_hdd0/game/").size());
|
||||
}
|
||||
else
|
||||
{
|
||||
//For homebrew
|
||||
|
|
|
|||
Loading…
Reference in a new issue