From 9731fdd33b93435f0f78880cf72933f2078bb77b Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 21 Apr 2021 19:46:44 -0400 Subject: [PATCH] Moves horizontal sync on the 48kb. --- Machines/Sinclair/ZXSpectrum/Video.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Sinclair/ZXSpectrum/Video.hpp b/Machines/Sinclair/ZXSpectrum/Video.hpp index a4132dae9..2274680fd 100644 --- a/Machines/Sinclair/ZXSpectrum/Video.hpp +++ b/Machines/Sinclair/ZXSpectrum/Video.hpp @@ -103,7 +103,7 @@ template 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;