summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author AmatCoder <AmatCoder@users.noreply.github.com>2019-03-06 20:40:39 +0100
committer GitHub <noreply@github.com>2019-03-06 20:40:39 +0100
commitc4f0852c32f806d19a519ae108d15fa4cc78bc86 (patch)
tree3370867f11a30f614f49ea5c60ebd56c3e36a7f5 /src
parentd246606018f8247164d8f09ec6aac54c19643c5d (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/devices/video/mc6845.cpp2
1 files changed, 0 insertions, 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;
}
}