Files
SourMesen 40335ce735 UI: Update to Avalonia 12, .NET 10 and replace ReactiveUI with MVVM community toolkit (#142)
Also fixes DX11.0 support (for Win7 PCs that aren't fully updated), which stopped working after the recent variable refresh rate changes
2026-07-03 16:04:42 +09:00

16 lines
543 B
C#

using CommunityToolkit.Mvvm.ComponentModel;
using System;
namespace Mesen.Config
{
public partial class NetplayConfig : BaseConfig<NetplayConfig>
{
[ObservableProperty] public partial string Host { get; set; } = "localhost";
[ObservableProperty] public partial UInt16 Port { get; set; } = 8888;
[ObservableProperty] public partial string Password { get; set; } = "";
[ObservableProperty] public partial UInt16 ServerPort { get; set; } = 8888;
[ObservableProperty] public partial string ServerPassword { get; set; } = "";
}
}