Browse Source

tier1: exclude steam deck from KeyValues

ssdk2013
nillerusr 2 years ago
parent
commit
22ed5194a6
  1. 3
      tier1/KeyValues.cpp

3
tier1/KeyValues.cpp

@ -2195,6 +2195,9 @@ bool EvaluateConditional( const char *str ) @@ -2195,6 +2195,9 @@ bool EvaluateConditional( const char *str )
if ( *str == '!' )
bNot = true;
if( Q_stristr( str, "$DECK" ) )
return false ^ bNot; // Steam deck unsupported
if ( Q_stristr( str, "$X360" ) )
return IsX360() ^ bNot;

Loading…
Cancel
Save