From b87f6e487a5d62059c5f10f379adc0695f3086e3 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Tue, 30 Mar 2021 12:18:09 -0400 Subject: [PATCH] Use SDL_GetBashPath instead of PHYSFS_getBaseDir, latter is made of fail on macOS --- 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 e499bb45..ee14f3c5 100644 --- a/desktop_version/src/FileSystemUtils.cpp +++ b/desktop_version/src/FileSystemUtils.cpp @@ -118,7 +118,7 @@ int FILESYSTEM_init(char *argvZero, char* baseDir, char *assetsPath) else { SDL_snprintf(output, sizeof(output), "%s%s", - PHYSFS_getBaseDir(), + SDL_GetBasePath(), "data.zip" ); }