mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 12:05:23 +00:00
Cleaning after PoorRequest
This commit is contained in:
parent
ae265f7586
commit
420bfef214
1 changed files with 5 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue