From ac809c36e169feb8af8cb3243a42faa84dec306a Mon Sep 17 00:00:00 2001 From: booto Date: Mon, 8 Jul 2019 23:05:49 -0400 Subject: [PATCH] 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. --- Source/Core/Core/HW/VideoInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/VideoInterface.cpp b/Source/Core/Core/HW/VideoInterface.cpp index db235404d2..44f6050bdf 100644 --- a/Source/Core/Core/HW/VideoInterface.cpp +++ b/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) {