summaryrefslogtreecommitdiff
path: root/games/holotz-castle/files/patch-JLib-JLib-Util-JFS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/holotz-castle/files/patch-JLib-JLib-Util-JFS.cpp')
-rw-r--r--games/holotz-castle/files/patch-JLib-JLib-Util-JFS.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/holotz-castle/files/patch-JLib-JLib-Util-JFS.cpp b/games/holotz-castle/files/patch-JLib-JLib-Util-JFS.cpp
new file mode 100644
index 000000000000..3fd9b8589df5
--- /dev/null
+++ b/games/holotz-castle/files/patch-JLib-JLib-Util-JFS.cpp
@@ -0,0 +1,13 @@
+--- JLib/JLib/Util/JFS.cpp.orig 2008-08-23 22:36:06.000000000 +0400
++++ JLib/JLib/Util/JFS.cpp 2008-08-25 17:58:54.000000000 +0400
+@@ -886,8 +886,8 @@
+ s32 n, k;
+
+ // Si es un directorio lo importa recursivamente
+- struct dirent64 **namelist;
+- n = scandir64(filename, &namelist, 0, alphasort);
++ struct dirent **namelist;
++ n = scandir(filename, &namelist, 0, alphasort);
+
+ if (n < 0)
+ {