mc6845.cpp: Do not reset line counter when screen parameters changed

Fix MT 06997, 06854 and 06423.
Also others games like "Profanation 2" works now.
This commit is contained in:
AmatCoder 2019-03-06 20:40:39 +01:00 committed by GitHub
parent d246606018
commit c4f0852c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -582,8 +582,6 @@ void mc6845_device::recompute_parameters(bool postload)
m_hsync_off_pos = hsync_off_pos;
m_vsync_on_pos = vsync_on_pos;
m_vsync_off_pos = vsync_off_pos;
if (!postload) // set m_line_counter to 0 on normal operation, but not on postload
m_line_counter = 0;
}
}