engine: rename pref path on Mac to Xash3D FWGS by allowing for custom branding through XASH_ENGINE_NAME macro

This commit is contained in:
Alibek Omarov 2025-01-23 10:24:53 +03:00
parent bccd3f2271
commit ef75a4c28d

View file

@ -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