Make sure it REALLY is a relative entry.

This commit is contained in:
gigaherz 2012-11-10 12:32:23 +01:00
parent b45209c872
commit 106395f392

View file

@ -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;