1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-10 11:25:23 +00:00

Merge pull request #927 from TomHarte/SimplifiedTiming

Moves horizontal sync on the 48kb.
This commit is contained in:
Thomas Harte
2021-04-21 19:50:40 -04:00
committed by GitHub

View File

@@ -103,7 +103,7 @@ template <VideoTiming timing> class Video {
constexpr int sync_line = (timings.interrupt_time / timings.cycles_per_line) + 1;
constexpr int sync_position = 166 * 2;
constexpr int sync_position = (timing == VideoTiming::FortyEightK) ? 164 * 2 : 166 * 2;
constexpr int sync_length = 17 * 2;
constexpr int burst_position = sync_position + 40;
constexpr int burst_length = 17;