mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +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
Add a link
Reference in a new issue