diff --git a/src/Ryujinx/Utilities/Configuration/ConfigurationState.Migration.cs b/src/Ryujinx/Utilities/Configuration/ConfigurationState.Migration.cs index 8ff06bf26..f520cdac2 100644 --- a/src/Ryujinx/Utilities/Configuration/ConfigurationState.Migration.cs +++ b/src/Ryujinx/Utilities/Configuration/ConfigurationState.Migration.cs @@ -166,9 +166,7 @@ namespace Ryujinx.Ava.Utilities.Configuration Migrate(34, static cff => cff.EnableInternetAccess = false); Migrate(35, static cff => { - foreach (StandardControllerInputConfig config in cff.InputConfig - .Where(it => it is StandardControllerInputConfig) - .Cast()) + foreach (StandardControllerInputConfig config in cff.InputConfig.OfType()) { config.RangeLeft = 1.0f; config.RangeRight = 1.0f;