(CTR/3DS) mkdir_norecurse: correct directory exists being treated as an

error.
This commit is contained in:
aliaspider 2015-10-05 22:20:06 +01:00
parent f8d162b2e7
commit 3879e2a7e7

View File

@ -200,7 +200,7 @@ bool mkdir_norecurse(const char *dir)
#if defined(VITA)
if ((ret == SCE_ERROR_ERRNO_EEXIST) && path_is_directory(dir))
ret = 0;
#elif defined(PSP)
#elif defined(PSP) || defined(_3DS)
if ((ret == -1) && path_is_directory(dir))
ret = 0;
#else