mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-03 06:38:50 +02:00
UI: Fix Match System Time setting not appropriately disabling/enabling System Time options
This commit is contained in:
@@ -63,6 +63,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
private int _multiplayerModeIndex;
|
private int _multiplayerModeIndex;
|
||||||
private string _ldnPassphrase;
|
private string _ldnPassphrase;
|
||||||
private string _LdnServer;
|
private string _LdnServer;
|
||||||
|
private bool _matchSystemTime;
|
||||||
|
|
||||||
private bool _enableGDBStub;
|
private bool _enableGDBStub;
|
||||||
private ushort _gdbStubPort;
|
private ushort _gdbStubPort;
|
||||||
@@ -335,7 +336,16 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
//private DateTimeOffset _currentDate;
|
//private DateTimeOffset _currentDate;
|
||||||
//private TimeSpan _currentTime;
|
//private TimeSpan _currentTime;
|
||||||
|
|
||||||
public bool MatchSystemTime { get; set; }
|
public bool MatchSystemTime
|
||||||
|
{
|
||||||
|
get => _matchSystemTime;
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_matchSystemTime = value;
|
||||||
|
|
||||||
|
OnPropertyChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public DateTimeOffset CurrentDate { get; set; }
|
public DateTimeOffset CurrentDate { get; set; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user