From 3a8737f0e624db9e2f7a7e69ec27ae6c003c542f Mon Sep 17 00:00:00 2001 From: Vova Date: Sat, 1 Feb 2025 17:07:04 +1000 Subject: [PATCH] fixed bugs and renamed method to GetArguments --- .../UI/Windows/ArgumentsConfigWindows.axaml.cs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/Ryujinx/UI/Windows/ArgumentsConfigWindows.axaml.cs b/src/Ryujinx/UI/Windows/ArgumentsConfigWindows.axaml.cs index 0687cbea0..4f12b7799 100644 --- a/src/Ryujinx/UI/Windows/ArgumentsConfigWindows.axaml.cs +++ b/src/Ryujinx/UI/Windows/ArgumentsConfigWindows.axaml.cs @@ -82,11 +82,12 @@ namespace Ryujinx.Ava.UI.Windows GameName, GameId, GameIconData, - SetArguments() + GetArguments() ); } - private string SetArguments() { + private string GetArguments() + { string line = ""; @@ -155,12 +156,6 @@ namespace Ryujinx.Ava.UI.Windows protected override void OnClosing(WindowClosingEventArgs e) { - - foreach (IGamepad gamepad in RyujinxApp.MainWindow.InputManager.GamepadDriver.GetGamepads()) - { - gamepad?.ClearLed(); - } - base.OnClosing(e); } }