From 5c6175cebf31afec2ef70f53e8434ba720db0b0b Mon Sep 17 00:00:00 2001 From: KeatonTheBot Date: Thu, 4 Sep 2025 22:58:01 -0500 Subject: [PATCH] UI: Fix Match System Time setting not appropriately disabling/enabling System Time options --- src/Ryujinx/UI/ViewModels/SettingsViewModel.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs b/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs index d588db48e..0a033129c 100644 --- a/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs +++ b/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs @@ -63,6 +63,7 @@ namespace Ryujinx.Ava.UI.ViewModels private int _multiplayerModeIndex; private string _ldnPassphrase; private string _LdnServer; + private bool _matchSystemTime; private bool _enableGDBStub; private ushort _gdbStubPort; @@ -335,7 +336,16 @@ namespace Ryujinx.Ava.UI.ViewModels //private DateTimeOffset _currentDate; //private TimeSpan _currentTime; - public bool MatchSystemTime { get; set; } + public bool MatchSystemTime + { + get => _matchSystemTime; + set + { + _matchSystemTime = value; + + OnPropertyChanged(); + } + } public DateTimeOffset CurrentDate { get; set; }