Skip to content
Permalink
Browse files

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.
  • Loading branch information...
booto committed Jul 9, 2019
1 parent 398aa2a commit ac809c36e169feb8af8cb3243a42faa84dec306a
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/Core/HW/VideoInterface.cpp
@@ -742,7 +742,7 @@ void Update(u64 ticks)
if (Config::Get(Config::MAIN_REDUCE_POLLING_RATE))
s_half_line_of_next_si_poll += GetHalfLinesPerEvenField() / 2;
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)
{

0 comments on commit ac809c3

Please sign in to comment.
You can’t perform that action at this time.