mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
(PSP/Vita) retro_stat.t c - fix is directory check
This commit is contained in:
parent
8a6333ddc1
commit
6eb1a55b52
@ -103,7 +103,7 @@ static bool path_stat(const char *path, enum stat_mode mode)
|
|||||||
{
|
{
|
||||||
case IS_DIRECTORY:
|
case IS_DIRECTORY:
|
||||||
#if defined(VITA) || defined(PSP)
|
#if defined(VITA) || defined(PSP)
|
||||||
return FIO_SO_ISDIR(buf.st_mode);
|
return FIO_SO_ISDIR(buf.st_attr);
|
||||||
#elif defined(__CELLOS_LV2__)
|
#elif defined(__CELLOS_LV2__)
|
||||||
return ((buf.st_mode & S_IFMT) == S_IFDIR);
|
return ((buf.st_mode & S_IFMT) == S_IFDIR);
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user