mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-13 05:00:55 +00:00
Fix reading ISO pathes with 2 following slashes
This commit is contained in:
parent
3681aab3ed
commit
449eceadba
@ -260,6 +260,8 @@ ISOFileSystem::TreeEntry *ISOFileSystem::GetFromPath(std::string path)
|
|||||||
if (path.length() == 0 || (path.length()==1 && path[0] == '/'))
|
if (path.length() == 0 || (path.length()==1 && path[0] == '/'))
|
||||||
return e;
|
return e;
|
||||||
path.erase(0, 1);
|
path.erase(0, 1);
|
||||||
|
while (path[0] == '/')
|
||||||
|
path.erase(0, 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user