mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-05-23 12:06:46 +00:00
FIX: remove redundant IsSteamDeck definition to resolve linker conflict
This commit is contained in:
parent
2f9895438c
commit
1f09d70864
@ -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
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user