Merge pull request #4755 from AmatCoder/AmatCoder-mc6845-4

mc6845.cpp: Check for vsync on frame reset only if vsync witdh is sup…
This commit is contained in:
ajrhacker 2019-03-12 11:19:31 -04:00 committed by GitHub
commit 16f19a2a74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -741,8 +741,11 @@ void mc6845_device::handle_line_timer()
m_line_address = m_disp_start_addr;
m_line_enable_ff = true;
if (match_line())
new_vsync = true;
if (m_supports_vert_sync_width)
{
if (match_line())
new_vsync = true;
}
/* also update the cursor state now */
update_cursor_state();