diff --git a/Core/FileSystems/ISOFileSystem.cpp b/Core/FileSystems/ISOFileSystem.cpp index ad52a963a6..cf5261d0db 100644 --- a/Core/FileSystems/ISOFileSystem.cpp +++ b/Core/FileSystems/ISOFileSystem.cpp @@ -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 {