- fix directory check in POSIX directory loader.

This commit is contained in:
Christoph Oelckers 2023-08-22 23:14:40 +02:00
parent be2f9c8660
commit e28d3b7f0b

View file

@ -164,7 +164,7 @@ static int FS_FindAttr(findstate_t *const fileinfo)
const std::string path = fileinfo->path + ent->d_name;
bool isdir;
if (DirEntryExists(path.c_str(), &isdir))
if (FS_DirEntryExists(path.c_str(), &isdir))
{
return isdir ? FA_DIREC : 0;
}