Browse Source

Added workaround for love.filesystem.getDirectoryItems

fysx 12 years ago
parent
commit
3f268ebedf
1 changed files with 5 additions and 0 deletions
  1. 5 0
      jni/love/src/modules/filesystem/physfs/Filesystem.cpp

+ 5 - 0
jni/love/src/modules/filesystem/physfs/Filesystem.cpp

@@ -185,6 +185,11 @@ void Filesystem::init(const char *arg0)
 {
 	if (!PHYSFS_init(arg0))
 		throw Exception(PHYSFS_getLastError());
+
+#ifdef LOVE_ANDROID
+//	PHYSFS_permitSymbolicLinks (1);
+#endif
+
 	initialized = true;
 }