diff --git a/engine/client/cl_gameui.c b/engine/client/cl_gameui.c index ede3c36d..fefdd7a7 100644 --- a/engine/client/cl_gameui.c +++ b/engine/client/cl_gameui.c @@ -982,7 +982,7 @@ pfnCheckGameDll */ int GAME_EXPORT pfnCheckGameDll( void ) { -#if XASH_INTERNAL_GAMELIBS +#ifdef XASH_INTERNAL_GAMELIBS return true; #else string dllpath; diff --git a/engine/common/host.c b/engine/common/host.c index 654a564f..f734e52b 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -1020,7 +1020,7 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha #if TARGET_OS_IOS Q_strncpy( host.rootdir, IOS_GetDocsDir(), sizeof( host.rootdir )); #elif XASH_ANDROID && XASH_SDL - Q_strncpy( host.rootdir, SDL_AndroidGetExternalStoragePath, sizeof( host.rootdir )); + Q_strncpy( host.rootdir, SDL_AndroidGetExternalStoragePath(), sizeof( host.rootdir )); #elif XASH_PSVITA if ( !PSVita_GetBasePath( host.rootdir, sizeof( host.rootdir ))) {