Files
MesenCE/UI/Config/VideoRecordConfig.cs
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

26 lines
678 B
C#

using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mesen.Config
{
public partial class VideoRecordConfig : BaseConfig<VideoRecordConfig>
{
[ObservableProperty] public partial VideoCodec Codec { get; set; } = VideoCodec.CSCD;
[ObservableProperty] public partial UInt32 CompressionLevel { get; set; } = 6;
[ObservableProperty] public partial bool RecordSystemHud { get; set; } = false;
[ObservableProperty] public partial bool RecordInputHud { get; set; } = false;
}
public enum VideoCodec
{
None = 0,
ZMBV = 1,
CSCD = 2,
GIF = 3
}
}