mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(Vita) Fix creating directories
This commit is contained in:
parent
c6f0cc2c08
commit
1945b7e76d
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue