[ChannelFHawk] More sensible viewport trimming and set default viewport to AllVisible
This commit is contained in:
parent
e0264ed102
commit
9c322f8967
|
@ -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()
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue