summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorbooto <remornicus@gmail.com>2019-07-08 23:05:49 -0400
committerbooto <remornicus@gmail.com>2019-07-08 23:07:34 -0400
commitac809c36e169feb8af8cb3243a42faa84dec306a (patch)
tree4a475996772cdb6ee9d7c55274dbff2d2868ecc4 /Source/Core
parent398aa2a9f976169c4ac8228f0969971f3e2ba2f3 (diff)
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.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/VideoInterface.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{