From ec23e4a54089e7dd095c556db5f534cc8b083964 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Sun, 12 Jan 2020 10:52:42 -0500 Subject: [PATCH] Make sure all PhysFS calls are after init! --- desktop_version/src/FileSystemUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/FileSystemUtils.cpp b/desktop_version/src/FileSystemUtils.cpp index 0a356eac..d1b87e5f 100644 --- a/desktop_version/src/FileSystemUtils.cpp +++ b/desktop_version/src/FileSystemUtils.cpp @@ -44,8 +44,8 @@ int FILESYSTEM_init(char *argvZero) char output[MAX_PATH]; int mkdirResult; - PHYSFS_permitSymbolicLinks(1); PHYSFS_init(argvZero); + PHYSFS_permitSymbolicLinks(1); /* Determine the OS user directory */ PLATFORM_getOSDirectory(output);