Skip to content

Commit

Permalink
engine: launcher: drop support for changing games from within interna…
Browse files Browse the repository at this point in the history
…l launcher for platforms that do not have execv equivalent
  • Loading branch information
a1batross committed Dec 27, 2024
1 parent 2d1e761 commit 88949a9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions engine/common/launcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ static char **szArgv;

static void Sys_ChangeGame( const char *progname )
{
// a1ba: may never be called within engine
// if platform supports execv() function
Q_strncpy( szGameDir, progname, sizeof( szGameDir ));
Host_Shutdown( );
exit( Host_Main( szArgc, szArgv, szGameDir, 1, &Sys_ChangeGame ) );
// stub
}

static int Sys_Start( void )
Expand Down

0 comments on commit 88949a9

Please sign in to comment.