From 449eceadbab3b065c50a558fd65f8a7eb3db6d16 Mon Sep 17 00:00:00 2001 From: Arthur Blot Date: Thu, 8 Nov 2012 14:21:55 +0100 Subject: [PATCH] Fix reading ISO pathes with 2 following slashes --- Core/FileSystems/ISOFileSystem.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 {