Tests show PSP is case sensitive for ISO, so skip tolower()

This commit is contained in:
KentuckyCompass 2015-09-06 22:12:38 -07:00
parent 487f184cd9
commit 766735b9b1

View file

@ -325,13 +325,7 @@ ISOFileSystem::TreeEntry *ISOFileSystem::GetFromPath(std::string path, bool catc
for (size_t i=0; i<e->children.size(); i++)
{
std::string n = (e->children[i]->name);
for (size_t j = 0; j < n.size(); j++) {
n[j] = tolower(n[j]);
}
std::string curPath = path.substr(0, path.find_first_of('/'));
for (size_t j = 0; j < curPath.size(); j++) {
curPath[j] = tolower(curPath[j]);
}
if (curPath == n)
{