mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 21:36:26 +00:00
(3DS) opendir with an empty string isn't returning NULL as it should.
This commit is contained in:
parent
23eef2c6ee
commit
e9618dd6a0
@ -44,6 +44,9 @@ struct RDIR *retro_opendir(const char *name)
|
||||
rdir->directory = FindFirstFile(path_buf, &rdir->entry);
|
||||
#elif defined(VITA) || defined(PSP)
|
||||
rdir->directory = sceIoDopen(name);
|
||||
#elif defined(_3DS)
|
||||
rdir->directory = (name && *name)? opendir(name) : NULL;
|
||||
rdir->entry = NULL;
|
||||
#elif defined(__CELLOS_LV2__)
|
||||
rdir->error = cellFsOpendir(name, &rdir->directory);
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user