mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-23 04:51:56 +00:00
Fix Mac build
This commit is contained in:
parent
eff9fd6ac3
commit
d34832e4fc
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ int SDL_main( int argc, char *argv[] ) {
|
|||
// DG: set exe_path so Posix_InitSignalHandlers() can call Posix_GetExePath()
|
||||
SDL_strlcpy(exe_path, [ [ [ NSBundle mainBundle ] bundlePath ] cString ], sizeof(exe_path));
|
||||
// same for save_path for Posix_GetSavePath()
|
||||
snprintf(save_path, sizeof(save_path), "%s/Library/Application Support/dhewm3", [NSHomeDirectory() cString]);
|
||||
D3_snprintfC99(save_path, sizeof(save_path), "%s/Library/Application Support/dhewm3", [NSHomeDirectory() cString]);
|
||||
// and preinitializing basepath is easy enough so do that as well
|
||||
{
|
||||
char* snap;
|
||||
|
|
Loading…
Reference in a new issue