Use SDL_GetBashPath instead of PHYSFS_getBaseDir, latter is made of fail on macOS

This commit is contained in:
Ethan Lee
2021-03-30 12:18:09 -04:00
parent 076a870ba2
commit b87f6e487a

View File

@@ -118,7 +118,7 @@ int FILESYSTEM_init(char *argvZero, char* baseDir, char *assetsPath)
else else
{ {
SDL_snprintf(output, sizeof(output), "%s%s", SDL_snprintf(output, sizeof(output), "%s%s",
PHYSFS_getBaseDir(), SDL_GetBasePath(),
"data.zip" "data.zip"
); );
} }