From 75457864369f05b3398a17a38226ee6b2651f3f1 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 30 Apr 2024 22:22:18 -0400 Subject: [PATCH] Ensure extra line types are used. --- Machines/Acorn/Archimedes/Video.hpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Machines/Acorn/Archimedes/Video.hpp b/Machines/Acorn/Archimedes/Video.hpp index 32922433a..e05051e3c 100644 --- a/Machines/Acorn/Archimedes/Video.hpp +++ b/Machines/Acorn/Archimedes/Video.hpp @@ -202,10 +202,12 @@ struct Video { // Move along line. switch(vertical_state_.phase()) { - case Phase::Sync: tick_horizontal(); break; - case Phase::Blank: tick_horizontal(); break; - case Phase::Border: tick_horizontal(); break; - case Phase::Display: tick_horizontal(); break; + case Phase::Sync: tick_horizontal(); break; + case Phase::Blank: tick_horizontal(); break; + case Phase::Border: tick_horizontal(); break; + case Phase::Display: tick_horizontal(); break; + case Phase::StartInterlacedSync: tick_horizontal(); break; + case Phase::EndInterlacedSync: tick_horizontal(); break; } ++time_in_phase_; } @@ -500,6 +502,7 @@ private: if(phase_ == Phase::Blank && horizontal_state_.position == horizontal_timing_.interlace_sync_position) { set_phase(Phase::Sync); } + return; } // End interlaced sync lines: do sync up to the programmed cutoff, then do blank. @@ -507,6 +510,7 @@ private: if(phase_ == Phase::Sync && horizontal_state_.position == horizontal_timing_.interlace_sync_position) { set_phase(Phase::Blank); } + return; } // Blank lines: obey only the transition from sync to non-sync.