Tests show PSP is case sensitive for ISO, so skip tolower()
This commit is contained in:
parent
487f184cd9
commit
766735b9b1
1 changed files with 0 additions and 6 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue