[ChannelFHawk] More sensible viewport trimming and set default viewport to AllVisible

This commit is contained in:
Asnivor 2024-10-24 13:32:38 +01:00
parent e0264ed102
commit 9c322f8967
2 changed files with 5 additions and 5 deletions

View File

@ -65,7 +65,7 @@ namespace BizHawk.Emulation.Cores.Consoles.ChannelF
[DisplayName("Viewport")]
[Description("Visable screen area (cropping options)")]
[DefaultValue(ViewPort.Trimmed)]
[DefaultValue(ViewPort.AllVisible)]
public ViewPort Viewport { get; set; }
public ChannelFSyncSettings Clone()

View File

@ -74,10 +74,10 @@ namespace BizHawk.Emulation.Cores.Consoles.ChannelF
case ViewPort.Trimmed:
// https://channelf.se/veswiki/index.php?title=VRAM
TrimLeft = 0;
TrimRight = HBlankOn - HBlankOff - (95 * PixelWidth);
TrimTop = 0;
TrimBottom = 0;
TrimLeft = 5;
TrimRight = 5;
TrimTop = 5;
TrimBottom = 5;
break;
}
}