diff --git a/stepmania/src/InputMapper.cpp b/stepmania/src/InputMapper.cpp index 5ce3f4190f..b219d504ef 100644 --- a/stepmania/src/InputMapper.cpp +++ b/stepmania/src/InputMapper.cpp @@ -1094,6 +1094,8 @@ void InputMappings::ReadMappings( const InputScheme *pInputScheme, RString sFile GameInput GameI; GameI.FromString( pInputScheme, name ); + if( !GameI.IsValid() ) + continue; vector sDeviceInputStrings; split( value, DEVICE_INPUT_SEPARATOR, sDeviceInputStrings, false );