FIX: remove redundant IsSteamDeck definition to resolve linker conflict

This commit is contained in:
Star1xr 2026-05-15 17:47:11 +03:00
parent 2f9895438c
commit 1f09d70864

View File

@ -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
//-----------------------------------------------------------------------------