mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-06 10:08:20 +00:00
Fix rare occurence where there is a /PS3_GAME+something directory which leads to weird behavior
This commit is contained in:
parent
e0508c6c64
commit
81da93a302
@ -388,7 +388,7 @@ void Emulator::Load(bool add_only)
|
||||
if (_cat == "DG" && bdvd_dir.empty())
|
||||
{
|
||||
// Mount /dev_bdvd/ if necessary
|
||||
if (auto pos = elf_dir.rfind("/PS3_GAME") + 1)
|
||||
if (auto pos = elf_dir.rfind("/PS3_GAME/") + 1)
|
||||
{
|
||||
bdvd_dir = elf_dir.substr(0, pos);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user