Merge branch ryujinx:master into ui-userprofiles-and-misc

This commit is contained in:
Neo
2025-11-01 05:21:36 -05:00
47 changed files with 714 additions and 325 deletions

View File

@@ -18,6 +18,12 @@ namespace Ryujinx.Ava.UI.Applet
{
public partial class ProfileSelectorDialog : RyujinxControl<ProfileSelectorDialogViewModel>
{
//Fix compiler warning
public ProfileSelectorDialog()
{
}
public ProfileSelectorDialog(ProfileSelectorDialogViewModel viewModel)
{
DataContext = ViewModel = viewModel;

View File

@@ -95,7 +95,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
public bool IsRight { get; set; }
public bool IsLeft { get; set; }
public string RevertDeviceId { get; set; }
public bool HasLed => SelectedGamepad.Features.HasFlag(GamepadFeaturesFlag.Led);
public bool HasLed => (SelectedGamepad.Features & GamepadFeaturesFlag.Led) != 0;
public bool CanClearLed => SelectedGamepad.Name.ContainsIgnoreCase("DualSense");
public event Action NotifyChangesEvent;

View File

@@ -10,6 +10,12 @@ namespace Ryujinx.UI.Views.Input
{
public partial class LedInputView : RyujinxControl<LedInputViewModel>
{
//Fix compiler warning
public LedInputView()
{
}
public LedInputView(ControllerInputViewModel viewModel)
{
ViewModel = new LedInputViewModel

View File

@@ -11,6 +11,12 @@ namespace Ryujinx.Ava.UI.Windows
{
internal readonly SettingsViewModel ViewModel;
//Fix compiler warning
public GameSpecificSettingsWindow()
{
}
public GameSpecificSettingsWindow(MainWindowViewModel viewModel, bool findUserConfigDir = true)
{
Title = string.Format(LocaleManager.Instance[LocaleKeys.SettingsWithInfo], viewModel.SelectedApplication.Name, viewModel.SelectedApplication.IdString);