Postshader: Avoid treating directories as files.

This commit is contained in:
Unknown W. Brackets 2022-05-25 20:04:47 -07:00
parent 4c6f6b63dd
commit 868568a744

View file

@ -96,6 +96,9 @@ void LoadPostShaderInfo(Draw::DrawContext *draw, const std::vector<Path> &direct
for (size_t f = 0; f < fileInfo.size(); f++) {
IniFile ini;
bool success = false;
if (fileInfo[f].isDirectory)
continue;
Path name = fileInfo[f].fullName;
Path path = directories[d];
// Hack around Android VFS path bug. really need to redesign this.