From 4a12d7086dd37cc317f7f61cc69d560b38a162b1 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 22 Mar 2021 17:24:38 -0400 Subject: [PATCH] Makes another guess at total colour phase. --- Machines/Sinclair/ZXSpectrum/Video.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Machines/Sinclair/ZXSpectrum/Video.hpp b/Machines/Sinclair/ZXSpectrum/Video.hpp index 45ec45ac9..5b6b32f62 100644 --- a/Machines/Sinclair/ZXSpectrum/Video.hpp +++ b/Machines/Sinclair/ZXSpectrum/Video.hpp @@ -210,8 +210,9 @@ template class Video { if(offset >= burst_position && offset < burst_position+burst_length && end_offset > offset) { const int burst_duration = std::min(burst_position + burst_length, end_offset) - offset; - crt_.output_colour_burst(burst_duration, 0, is_alternate_line_); + crt_.output_colour_burst(burst_duration, 116, is_alternate_line_); offset += burst_duration; + // The colour burst phase above is an empirical guess. I need to research further. } if(offset >= burst_position+burst_length && end_offset > offset) {