port: default to home directory for saves on OSX as well

This commit is contained in:
fgsfds committed 2024-11-24 00:25:19 +01:00
1 parent 5c5c33c116
commit 0ad4492ff6
1 file changed
+1 -1
+1 -1
View File
@@ -149,7 +149,7 @@ s32 fsInit(void)
if (portable) {
path = "$E";
} else {
#ifdef PLATFORM_LINUX
#if defined(PLATFORM_LINUX) || defined(PLATFORM_OSX)
// check if there's a config in the working directory, otherwise default to homeDir
if (fsFileSize("./" CONFIG_FNAME) >= 0) {
path = ".";