0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2025-01-08 06:01:58 +00:00

misc: Forgot about OfType [ci skip]

This commit is contained in:
Evan Husted 2024-12-30 23:28:32 -06:00
parent df150f0788
commit bd29f658b1

View file

@ -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<StandardControllerInputConfig>())
foreach (StandardControllerInputConfig config in cff.InputConfig.OfType<StandardControllerInputConfig>())
{
config.RangeLeft = 1.0f;
config.RangeRight = 1.0f;