[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")]
|
[DisplayName("Viewport")]
|
||||||
[Description("Visable screen area (cropping options)")]
|
[Description("Visable screen area (cropping options)")]
|
||||||
[DefaultValue(ViewPort.Trimmed)]
|
[DefaultValue(ViewPort.AllVisible)]
|
||||||
public ViewPort Viewport { get; set; }
|
public ViewPort Viewport { get; set; }
|
||||||
|
|
||||||
public ChannelFSyncSettings Clone()
|
public ChannelFSyncSettings Clone()
|
||||||
|
|
|
@ -74,10 +74,10 @@ namespace BizHawk.Emulation.Cores.Consoles.ChannelF
|
||||||
|
|
||||||
case ViewPort.Trimmed:
|
case ViewPort.Trimmed:
|
||||||
// https://channelf.se/veswiki/index.php?title=VRAM
|
// https://channelf.se/veswiki/index.php?title=VRAM
|
||||||
TrimLeft = 0;
|
TrimLeft = 5;
|
||||||
TrimRight = HBlankOn - HBlankOff - (95 * PixelWidth);
|
TrimRight = 5;
|
||||||
TrimTop = 0;
|
TrimTop = 5;
|
||||||
TrimBottom = 0;
|
TrimBottom = 5;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue