diff --git a/Ryujinx/Ui/GLRenderer.cs b/Ryujinx/Ui/GLRenderer.cs index b3471259a8..6651358d31 100644 --- a/Ryujinx/Ui/GLRenderer.cs +++ b/Ryujinx/Ui/GLRenderer.cs @@ -395,7 +395,7 @@ namespace Ryujinx.Ui List gamepadInputs = new List(); - 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();