mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
(PSP1) Buildfix
This commit is contained in:
parent
9d67d48036
commit
15b7fa545d
@ -78,6 +78,9 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(VITA)
|
||||||
|
#define FIO_SO_ISDIR PSP2_S_ISDIR
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* path_get_extension:
|
* path_get_extension:
|
||||||
@ -176,7 +179,7 @@ bool path_is_directory(const char *path)
|
|||||||
SceIoStat buf;
|
SceIoStat buf;
|
||||||
if (sceIoGetstat(path, &buf) < 0)
|
if (sceIoGetstat(path, &buf) < 0)
|
||||||
return false;
|
return false;
|
||||||
return PSP2_S_ISDIR(buf.st_mode);
|
return FIO_SO_ISDIR(buf.st_mode);
|
||||||
#elif defined(__CELLOS_LV2__)
|
#elif defined(__CELLOS_LV2__)
|
||||||
CellFsStat buf;
|
CellFsStat buf;
|
||||||
if (cellFsStat(path, &buf) < 0)
|
if (cellFsStat(path, &buf) < 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user