|
|
|
@ -1017,8 +1017,9 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
@@ -1017,8 +1017,9 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
|
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
#if TARGET_OS_IOS |
|
|
|
|
const char *IOS_GetDocsDir(); |
|
|
|
|
Q_strncpy( host.rootdir, IOS_GetDocsDir(), sizeof( host.rootdir )); |
|
|
|
|
#elif XASH_ANDROID && XASH_SDL |
|
|
|
|
Q_strncpy( host.rootdir, SDL_AndroidGetExternalStoragePath, sizeof( host.rootdir )); |
|
|
|
|
#elif XASH_PSVITA |
|
|
|
|
if ( !PSVita_GetBasePath( host.rootdir, sizeof( host.rootdir ))) |
|
|
|
|
{ |
|
|
|
|