From bd29f658b19a34227ac684cd23fda7777289fea9 Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Mon, 30 Dec 2024 23:28:32 -0600 Subject: [PATCH] misc: Forgot about OfType [ci skip] --- .../Utilities/Configuration/ConfigurationState.Migration.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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;