forked from MeloNX/MeloNX
Copy the value of InputConfig to a new array before iterating (#1271)
This commit is contained in:
parent
86ad766cf1
commit
58615e254d
@ -395,7 +395,7 @@ namespace Ryujinx.Ui
|
||||
|
||||
List<GamepadInput> gamepadInputs = new List<GamepadInput>();
|
||||
|
||||
foreach (InputConfig inputConfig in ConfigurationState.Instance.Hid.InputConfig.Value)
|
||||
foreach (InputConfig inputConfig in ConfigurationState.Instance.Hid.InputConfig.Value.ToArray())
|
||||
{
|
||||
ControllerKeys currentButton = 0;
|
||||
JoystickPosition leftJoystick = new JoystickPosition();
|
||||
|
Loading…
x
Reference in New Issue
Block a user