From f87863b8bc5af8bad0f3040c68c530bd68a04992 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Sun, 5 Feb 2023 02:18:11 +0100 Subject: [PATCH] nswitch: always enable console --- engine/common/host.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/common/host.c b/engine/common/host.c index e558b285..44a83d09 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -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" ))