nswitch: always enable console

This commit is contained in:
fgsfds 2023-02-05 02:18:11 +01:00
parent 25fb89f717
commit f87863b8bc

View File

@ -895,8 +895,11 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
host.mempool = Mem_AllocPool( "Zone Engine" );
// HACKHACK: Quake console is always allowed
// HACKHACK: console is also always allowed on the Switch since we can't really pass command line
// TODO: determine if we are running QWrap more reliable
if( Sys_CheckParm( "-console" ) || !Q_stricmp( SI.exeName, "quake" ))
#if !XASH_NSWITCH
if( Sys_CheckParm( "-console" ) || !Q_stricmp( SI.exeName, "quake" ) )
#endif
host.allow_console = true;
if( Sys_CheckParm( "-dev" ))