Fix rare occurence where there is a /PS3_GAME+something directory which leads to weird behavior
This commit is contained in:
@@ -388,7 +388,7 @@ void Emulator::Load(bool add_only)
|
|||||||
if (_cat == "DG" && bdvd_dir.empty())
|
if (_cat == "DG" && bdvd_dir.empty())
|
||||||
{
|
{
|
||||||
// Mount /dev_bdvd/ if necessary
|
// 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);
|
bdvd_dir = elf_dir.substr(0, pos);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user