Skip to content

Commit

Permalink
engine: rename pref path on Mac to Xash3D FWGS by allowing for custom…
Browse files Browse the repository at this point in the history
… branding through XASH_ENGINE_NAME macro
  • Loading branch information
a1batross committed Jan 23, 2025
1 parent bccd3f2 commit ef75a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/common/filesystem_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef75a4c

Please sign in to comment.