Skip to content

Commit

Permalink
Merge pull request #927 from TomHarte/SimplifiedTiming
Browse files Browse the repository at this point in the history
Moves horizontal sync on the 48kb.
  • Loading branch information
TomHarte authored Apr 21, 2021
2 parents 5ea605c + 9731fdd commit 856ebfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Machines/Sinclair/ZXSpectrum/Video.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 856ebfa

Please sign in to comment.