Do it inside inColon

This commit is contained in:
raven02 2014-03-23 22:37:43 +08:00
parent 66bf54ec4a
commit 9b272cfc68

View File

@ -133,17 +133,14 @@ static bool RealPath(const std::string &currentDirectory, 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) )
{