mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 00:04:49 +02:00
Merge branch 'master' of https://github.com/artart78/ppsspp into artart78-master
This commit is contained in:
@@ -230,7 +230,8 @@ ISOFileSystem::TreeEntry *ISOFileSystem::GetFromPath(std::string path)
|
||||
for (size_t i=0; i<e->children.size(); i++)
|
||||
{
|
||||
std::string n = e->children[i]->name;
|
||||
if (path.compare(0, n.length(), n) == 0) //TODO : bad
|
||||
std::string curPath = path.substr(0, path.find_first_of('/'));
|
||||
if (curPath == n)
|
||||
{
|
||||
//yay we got it
|
||||
ne = e->children[i];
|
||||
|
||||
Reference in New Issue
Block a user