1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-23 20:29:42 +00:00

Ensures is_in_retrace is properly initialised.

This commit is contained in:
Thomas Harte 2020-06-19 23:09:02 -04:00
parent 222c16c5b8
commit 7431d56166

View File

@ -352,6 +352,7 @@ struct ScanStatus {
.retrace_duration = retrace_duration / dividend,
.current_position = current_position,
.hsync_count = hsync_count,
.is_in_retrace = is_in_retrace,
};
return result;
}
@ -366,6 +367,7 @@ struct ScanStatus {
.retrace_duration = retrace_duration * multiplier,
.current_position = current_position,
.hsync_count = hsync_count,
.is_in_retrace = is_in_retrace,
};
return result;
}