Assorted plumbing.

wip

Buildfix
This commit is contained in:
Henrik Rydgård committed 2021-06-07 00:24:51 +02:00
1 parent beb0b4e9f3
commit b397e5c455
16 files changed
+195 -120

No files matched your search

+1 -2
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 = {""};