mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Fix reading ISO pathes with 2 following slashes
This commit is contained in:
@@ -260,6 +260,8 @@ ISOFileSystem::TreeEntry *ISOFileSystem::GetFromPath(std::string path)
|
||||
if (path.length() == 0 || (path.length()==1 && path[0] == '/'))
|
||||
return e;
|
||||
path.erase(0, 1);
|
||||
while (path[0] == '/')
|
||||
path.erase(0, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user