mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 16:24:53 +02:00
Make sure it REALLY is a relative entry.
This commit is contained in:
@@ -512,7 +512,7 @@ std::vector<PSPFileInfo> ISOFileSystem::GetDirListing(std::string path)
|
||||
{
|
||||
TreeEntry *e = entry->children[i];
|
||||
|
||||
if(e->name[0] == '.') // do not include the relative entries in the list
|
||||
if(!strcmp(e->name, ".") || !strcmp(e->name, "..")) // do not include the relative entries in the list
|
||||
continue;
|
||||
|
||||
PSPFileInfo x;
|
||||
|
||||
Reference in New Issue
Block a user