mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 01:45:19 +01:00
platform/android_nosdl: use FS_GetDiskPath for icon path
This commit is contained in:
parent
849c075271
commit
a843030a0b
@ -199,13 +199,13 @@ static int Android_GetGLAttribute( int eglAttr )
|
||||
|
||||
qboolean R_Init_Video( const int type )
|
||||
{
|
||||
char buf[MAX_VA_STRING];
|
||||
qboolean retval;
|
||||
char buf[10]; // Sys_GetParmFromCmdLine
|
||||
|
||||
if( FS_FileExists( GI->iconpath, true ) )
|
||||
{
|
||||
Q_snprintf( buf, sizeof( buf ), "%s/%s/%s", COM_CheckStringEmpty( host.rodir ) ? host.rodir : host.rootdir, GI->gamefolder, GI->iconpath );
|
||||
Android_SetIcon( buf );
|
||||
// TODO: convert icon to some android-readable format and place
|
||||
Android_SetIcon( FS_GetDiskPath( GI->iconpath, false ));
|
||||
}
|
||||
|
||||
Android_SetTitle( GI->title );
|
||||
|
Loading…
Reference in New Issue
Block a user