mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(Vita) Fix creating directories
This commit is contained in:
parent
c6f0cc2c08
commit
1945b7e76d
@ -62,7 +62,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(VITA)
|
||||
#define FIO_SO_ISDIR PSP2_S_ISDIR
|
||||
#define FIO_S_ISDIR PSP2_S_ISDIR
|
||||
#endif
|
||||
|
||||
#if (defined(__CELLOS_LV2__) && !defined(__PSL1GHT__)) || defined(__QNX__) || defined(PSP)
|
||||
@ -113,7 +113,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_attr);
|
||||
return FIO_S_ISDIR(buf.st_mode);
|
||||
#elif defined(__CELLOS_LV2__)
|
||||
return ((buf.st_mode & S_IFMT) == S_IFDIR);
|
||||
#elif defined(_WIN32)
|
||||
|
Loading…
x
Reference in New Issue
Block a user