engine: rename pref path on Mac to Xash3D FWGS by allowing for custom branding through XASH_ENGINE_NAME macro
This commit is contained in:
parent
bccd3f2271
commit
ef75a4c28d
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ static qboolean FS_DetermineRootDirectory( char *out, size_t size )
|
||||||
return false;
|
return false;
|
||||||
#elif ( XASH_SDL == 2 ) && !XASH_NSWITCH // GetBasePath not impl'd in switch-sdl2
|
#elif ( XASH_SDL == 2 ) && !XASH_NSWITCH // GetBasePath not impl'd in switch-sdl2
|
||||||
#if XASH_APPLE
|
#if XASH_APPLE
|
||||||
path = SDL_GetPrefPath(NULL, "Xash3D");
|
path = SDL_GetPrefPath( NULL, XASH_ENGINE_NAME );
|
||||||
#else
|
#else
|
||||||
path = SDL_GetBasePath();
|
path = SDL_GetBasePath();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue