mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-13 22:37:07 +00:00
UI: Fix Match System Time setting not appropriately disabling/enabling System Time options
This commit is contained in:
parent
9addccb50f
commit
5c6175cebf
1 changed files with 11 additions and 1 deletions
|
|
@ -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; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue