mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-27 06:35:04 +00:00
Makes another guess at total colour phase.
This commit is contained in:
parent
a6b75b8637
commit
4a12d7086d
@ -210,8 +210,9 @@ template <VideoTiming timing> class Video {
|
|||||||
|
|
||||||
if(offset >= burst_position && offset < burst_position+burst_length && end_offset > offset) {
|
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;
|
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;
|
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) {
|
if(offset >= burst_position+burst_length && end_offset > offset) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user