(PSP/Vita) retro_stat.t c - fix is directory check

This commit is contained in:
twinaphex 2015-09-24 21:26:38 +02:00
parent 8a6333ddc1
commit 6eb1a55b52

View File

@ -103,7 +103,7 @@ static bool path_stat(const char *path, enum stat_mode mode)
{
case IS_DIRECTORY:
#if defined(VITA) || defined(PSP)
return FIO_SO_ISDIR(buf.st_mode);
return FIO_SO_ISDIR(buf.st_attr);
#elif defined(__CELLOS_LV2__)
return ((buf.st_mode & S_IFMT) == S_IFDIR);
#elif defined(_WIN32)