mirror of
https://github.com/TomHarte/CLK.git
synced 2024-06-26 10:29:31 +00:00
Ensure extra line types are used.
This commit is contained in:
parent
72d4f638aa
commit
7545786436
|
@ -206,6 +206,8 @@ struct Video {
|
||||||
case Phase::Blank: tick_horizontal<Phase::Blank>(); break;
|
case Phase::Blank: tick_horizontal<Phase::Blank>(); break;
|
||||||
case Phase::Border: tick_horizontal<Phase::Border>(); break;
|
case Phase::Border: tick_horizontal<Phase::Border>(); break;
|
||||||
case Phase::Display: tick_horizontal<Phase::Display>(); break;
|
case Phase::Display: tick_horizontal<Phase::Display>(); break;
|
||||||
|
case Phase::StartInterlacedSync: tick_horizontal<Phase::StartInterlacedSync>(); break;
|
||||||
|
case Phase::EndInterlacedSync: tick_horizontal<Phase::EndInterlacedSync>(); break;
|
||||||
}
|
}
|
||||||
++time_in_phase_;
|
++time_in_phase_;
|
||||||
}
|
}
|
||||||
|
@ -500,6 +502,7 @@ private:
|
||||||
if(phase_ == Phase::Blank && horizontal_state_.position == horizontal_timing_.interlace_sync_position) {
|
if(phase_ == Phase::Blank && horizontal_state_.position == horizontal_timing_.interlace_sync_position) {
|
||||||
set_phase(Phase::Sync);
|
set_phase(Phase::Sync);
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// End interlaced sync lines: do sync up to the programmed cutoff, then do blank.
|
// 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) {
|
if(phase_ == Phase::Sync && horizontal_state_.position == horizontal_timing_.interlace_sync_position) {
|
||||||
set_phase(Phase::Blank);
|
set_phase(Phase::Blank);
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Blank lines: obey only the transition from sync to non-sync.
|
// Blank lines: obey only the transition from sync to non-sync.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user