From ef75a4c28d69b09635809cdf469f92a702d040de Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 23 Jan 2025 10:24:53 +0300 Subject: [PATCH] engine: rename pref path on Mac to Xash3D FWGS by allowing for custom branding through XASH_ENGINE_NAME macro --- engine/common/filesystem_engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/filesystem_engine.c b/engine/common/filesystem_engine.c index c0570af0..1ee74fe8 100644 --- a/engine/common/filesystem_engine.c +++ b/engine/common/filesystem_engine.c @@ -187,7 +187,7 @@ static qboolean FS_DetermineRootDirectory( char *out, size_t size ) return false; #elif ( XASH_SDL == 2 ) && !XASH_NSWITCH // GetBasePath not impl'd in switch-sdl2 #if XASH_APPLE - path = SDL_GetPrefPath(NULL, "Xash3D"); + path = SDL_GetPrefPath( NULL, XASH_ENGINE_NAME ); #else path = SDL_GetBasePath(); #endif