From 9b272cfc682c8eb6f423a74fe448462518d8a8a0 Mon Sep 17 00:00:00 2001 From: raven02 Date: Sun, 23 Mar 2014 22:37:43 +0800 Subject: [PATCH] Do it inside inColon --- Core/FileSystems/MetaFileSystem.cpp | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Core/FileSystems/MetaFileSystem.cpp b/Core/FileSystems/MetaFileSystem.cpp index 32c1cabd1..cec688554 100644 --- a/Core/FileSystems/MetaFileSystem.cpp +++ b/Core/FileSystems/MetaFileSystem.cpp @@ -133,17 +133,14 @@ static bool RealPath(const std::string ¤tDirectory, const std::string &inP { prefix = inPath.substr(0, inColon + 1); inAfterColon = inPath.substr(inColon + 1); - } - // Special case: "disc0:" is different from "disc0:/", so keep track of the single slash. - // Hot Pixel don't like this (prevent booting) - /* - if (inAfterColon == "/") - { - outPath = prefix + inAfterColon; - return true; + // Special case: "disc0:" is different from "disc0:/", so keep track of the single slash. + if (inAfterColon == "/") + { + outPath = prefix + inAfterColon; + return true; + } } - */ if (! ApplyPathStringToComponentsVector(cmpnts, inAfterColon) ) {