Use sceIoMkdir for PSP too

This commit is contained in:
twinaphex 2015-08-30 18:53:41 +02:00
parent b03a0f4781
commit 1533d451e9

View File

@ -73,6 +73,10 @@
#include <unistd.h>
#endif
#if defined(PSP)
#include <pspkernel.h>
#endif
/**
* path_get_extension:
* @path : path
@ -559,7 +563,7 @@ static bool path_mkdir_norecurse(const char *dir)
ret = _mkdir(dir);
#elif defined(IOS)
ret = mkdir(dir, 0755);
#elif defined(VITA)
#elif defined(VITA) || defined(PSP)
ret = sceIoMkdir(dir, 0755);
#else
ret = mkdir(dir, 0750);