SI: Convert SIPOLL's lines value to half lines

SI represents polling sample rate in lines, not half lines. It needs to be
multiplied by 2 for VI, which uses half lines.
This commit is contained in:
booto 2019-07-08 23:05:49 -04:00
parent 398aa2a9f9
commit ac809c36e1
1 changed files with 1 additions and 1 deletions

View File

@ -742,7 +742,7 @@ void Update(u64 ticks)
if (Config::Get(Config::MAIN_REDUCE_POLLING_RATE)) if (Config::Get(Config::MAIN_REDUCE_POLLING_RATE))
s_half_line_of_next_si_poll += GetHalfLinesPerEvenField() / 2; s_half_line_of_next_si_poll += GetHalfLinesPerEvenField() / 2;
else else
s_half_line_of_next_si_poll += SerialInterface::GetPollXLines(); s_half_line_of_next_si_poll += 2 * SerialInterface::GetPollXLines();
} }
if (s_half_line_count == s_even_field_first_hl) if (s_half_line_count == s_even_field_first_hl)
{ {