mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +00:00
Merge pull request #927 from TomHarte/SimplifiedTiming
Moves horizontal sync on the 48kb.
This commit is contained in:
commit
856ebfacca
@ -103,7 +103,7 @@ template <VideoTiming timing> class Video {
|
|||||||
|
|
||||||
constexpr int sync_line = (timings.interrupt_time / timings.cycles_per_line) + 1;
|
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 sync_length = 17 * 2;
|
||||||
constexpr int burst_position = sync_position + 40;
|
constexpr int burst_position = sync_position + 40;
|
||||||
constexpr int burst_length = 17;
|
constexpr int burst_length = 17;
|
||||||
|
Loading…
Reference in New Issue
Block a user