diff --git a/src/Ryujinx.UI.Common/Configuration/ConfigurationState.cs b/src/Ryujinx.UI.Common/Configuration/ConfigurationState.cs index 182f038a9..60e81a32d 100644 --- a/src/Ryujinx.UI.Common/Configuration/ConfigurationState.cs +++ b/src/Ryujinx.UI.Common/Configuration/ConfigurationState.cs @@ -423,6 +423,7 @@ namespace Ryujinx.UI.Common.Configuration /// public ReactiveObject> InputConfig { get; private set; } + public HidSection() { EnableKeyboard = new ReactiveObject(); @@ -1545,7 +1546,7 @@ namespace Ryujinx.UI.Common.Configuration Hid.EnableMouse.Value = configurationFileFormat.EnableMouse; Hid.Hotkeys.Value = configurationFileFormat.Hotkeys; Hid.InputConfig.Value = configurationFileFormat.InputConfig; - + if (Hid.InputConfig.Value == null) { Hid.InputConfig.Value = new List(); diff --git a/src/Ryujinx/AppHost.cs b/src/Ryujinx/AppHost.cs index 0ee74b700..44ee75f96 100644 --- a/src/Ryujinx/AppHost.cs +++ b/src/Ryujinx/AppHost.cs @@ -124,6 +124,7 @@ namespace Ryujinx.Ava public bool ScreenshotRequested { get; set; } public AppHost( + RendererHost renderer, InputManager inputManager, string applicationPath, diff --git a/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs b/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs index 2ec5ab815..6cb6b61ab 100644 --- a/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs +++ b/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs @@ -408,7 +408,6 @@ namespace Ryujinx.Ava.UI.ViewModels ShowConfirmExit = config.ShowConfirmExit; HideCursor = (int)config.HideCursor.Value; CursorHideIdleTime = config.CursorHideIdleTime.Value; - GameDirectories.Clear(); GameDirectories.AddRange(config.UI.GameDirs.Value);