HW/SerialInterface: Refactor to class.

This commit is contained in:
Admiral H. Curtiss committed 2023-03-12 16:08:56 +01:00
1 parent d371b17f37
commit bf2f901a99
11 files changed
+463 -455

No files matched your search

+3 -2
View File
@@ -885,8 +885,9 @@ void VideoInterfaceManager::Update(u64 ticks)
{
Core::UpdateInputGate(!Config::Get(Config::MAIN_INPUT_BACKGROUND_INPUT),
Config::Get(Config::MAIN_LOCK_CURSOR));
SerialInterface::UpdateDevices();
m_half_line_of_next_si_poll += 2 * SerialInterface::GetPollXLines();
auto& si = m_system.GetSerialInterface();
si.UpdateDevices();
m_half_line_of_next_si_poll += 2 * si.GetPollXLines();
}
// If this half-line is at the actual boundary of either field, schedule an SI poll to happen