mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Make sure it REALLY is a relative entry.
This commit is contained in:
parent
b45209c872
commit
106395f392
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue