UI: Fix Match System Time setting not appropriately disabling/enabling System Time options

This commit is contained in:
KeatonTheBot 2025-09-04 22:58:01 -05:00
parent 9addccb50f
commit 5c6175cebf

View file

@ -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; }