mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
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:
parent
398aa2a9f9
commit
ac809c36e1
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user