1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-25 18:30:07 +00:00

Use established test.

This commit is contained in:
Thomas Harte 2023-04-23 12:01:33 -04:00
parent d40bc58e8b
commit 6651a9c323

View File

@ -195,7 +195,7 @@ template <Personality personality, typename Enable = void> struct LineLayout;
// * horizontal adjust on the Yamaha VDPs is applied to EndOfLeftBorder and EndOfPixels; and
// * the Sega VDPs may programatically extend the left border.
template <Personality personality> struct LineLayout<personality, std::enable_if_t<personality == Personality::TMS9918A || (is_sega_vdp(personality) && personality != Personality::MDVDP)>> {
template <Personality personality> struct LineLayout<personality, std::enable_if_t<is_classic_vdp(personality)>> {
constexpr static int EndOfSync = 26;
constexpr static int StartOfColourBurst = 29;
constexpr static int EndOfColourBurst = 43;