From 88949a9ee62a130f6d49145e96457bd7fb17811c Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 27 Dec 2024 18:45:31 +0300 Subject: [PATCH] engine: launcher: drop support for changing games from within internal launcher for platforms that do not have execv equivalent --- engine/common/launcher.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/engine/common/launcher.c b/engine/common/launcher.c index 3b50ba9eae..d75bc6e44c 100644 --- a/engine/common/launcher.c +++ b/engine/common/launcher.c @@ -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 )