Ports/emu2: Remove obsolete scandir patch

This commit is contained in:
Daniel Bertalan 2021-12-23 10:26:29 +01:00 committed by Ali Mohammad Pur
parent ff4787ad2d
commit f35b6ee3fc
Notes: sideshowbarker 2024-07-17 22:13:49 +09:00

View file

@ -7,15 +7,6 @@
#include <sys/stat.h> #include <sys/stat.h>
// DOS directory entries. // DOS directory entries.
@@ -179,7 +180,7 @@
struct dirent **dir;
struct dos_file_list *ret;
- int n = scandir(path, &dir, 0, dos_unix_sort);
+ int n = 0; //scandir(path, &dir, 0, dos_unix_sort);
if(n <= 0)
return 0;
@@ -589,7 +590,7 @@ @@ -589,7 +590,7 @@
static struct dos_file_list *find_first_file(char *fspec) static struct dos_file_list *find_first_file(char *fspec)
{ {