mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-01-09 03:02:00 +00:00
misc: Forgot about OfType [ci skip]
This commit is contained in:
parent
df150f0788
commit
bd29f658b1
1 changed files with 1 additions and 3 deletions
|
@ -166,9 +166,7 @@ namespace Ryujinx.Ava.Utilities.Configuration
|
||||||
Migrate(34, static cff => cff.EnableInternetAccess = false);
|
Migrate(34, static cff => cff.EnableInternetAccess = false);
|
||||||
Migrate(35, static cff =>
|
Migrate(35, static cff =>
|
||||||
{
|
{
|
||||||
foreach (StandardControllerInputConfig config in cff.InputConfig
|
foreach (StandardControllerInputConfig config in cff.InputConfig.OfType<StandardControllerInputConfig>())
|
||||||
.Where(it => it is StandardControllerInputConfig)
|
|
||||||
.Cast<StandardControllerInputConfig>())
|
|
||||||
{
|
{
|
||||||
config.RangeLeft = 1.0f;
|
config.RangeLeft = 1.0f;
|
||||||
config.RangeRight = 1.0f;
|
config.RangeRight = 1.0f;
|
||||||
|
|
Loading…
Reference in a new issue