From 0ad4492ff665982d9330d2cb791a3132543090de Mon Sep 17 00:00:00 2001 From: fgsfds Date: Sun, 24 Nov 2024 00:25:19 +0100 Subject: [PATCH] port: default to home directory for saves on OSX as well --- port/src/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port/src/fs.c b/port/src/fs.c index cbcec8782..40335a3fa 100644 --- a/port/src/fs.c +++ b/port/src/fs.c @@ -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 = ".";