mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue