From c4f0852c32f806d19a519ae108d15fa4cc78bc86 Mon Sep 17 00:00:00 2001 From: AmatCoder Date: Wed, 6 Mar 2019 20:40:39 +0100 Subject: [PATCH] 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. --- src/devices/video/mc6845.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/devices/video/mc6845.cpp b/src/devices/video/mc6845.cpp index da4a015a1c6..fe8e4a0119b 100644 --- a/src/devices/video/mc6845.cpp +++ b/src/devices/video/mc6845.cpp @@ -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; } }