From 1f09d708643ade05777018c5d9bc2287b2f9c107 Mon Sep 17 00:00:00 2001 From: Star1xr Date: Fri, 15 May 2026 17:47:11 +0300 Subject: [PATCH] FIX: remove redundant IsSteamDeck definition to resolve linker conflict --- game/client/cdll_client_int.cpp | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/game/client/cdll_client_int.cpp b/game/client/cdll_client_int.cpp index a9f90699..57e50bdc 100644 --- a/game/client/cdll_client_int.cpp +++ b/game/client/cdll_client_int.cpp @@ -353,25 +353,6 @@ class IClientPurchaseInterfaceV2 *g_pClientPurchaseInterface = (class IClientPur static ConVar *g_pcv_ThreadMode = NULL; -// GAMEPADUI TODO - put this somewhere better. (Madi) -#if defined( GAMEPADUI ) -bool IsSteamDeck() -{ - if ( CommandLine()->FindParm( "-gamepadui" ) ) - return true; - - if ( CommandLine()->FindParm( "-nogamepadui" ) ) - return false; - - const char *pszSteamDeckEnv = getenv( "SteamDeck" ); - if ( pszSteamDeckEnv && *pszSteamDeckEnv ) - return atoi( pszSteamDeckEnv ) != 0; - - return false; -} -#endif - - //----------------------------------------------------------------------------- // Purpose: interface for gameui to modify voice bans //-----------------------------------------------------------------------------