Assorted plumbing.

wip

Buildfix
This commit is contained in:
Henrik Rydgård
2021-04-24 22:47:57 +02:00
parent beb0b4e9f3
commit b397e5c455
16 changed files with 195 additions and 120 deletions

View File

@@ -285,8 +285,7 @@ int VirtualDiscFileSystem::getFileListIndex(std::string &fileName)
#endif
}
FileType type = File::IsDirectory(fullName) ? FILETYPE_DIRECTORY : FILETYPE_NORMAL;
if (type == FILETYPE_DIRECTORY)
if (File::IsDirectory(fullName))
return -1;
FileListEntry entry = {""};