summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author AmatCoder <AmatCoder@users.noreply.github.com>2019-03-08 00:32:48 +0100
committer GitHub <noreply@github.com>2019-03-08 00:32:48 +0100
commit97377ac34a7e3fdac5459950b9367739914c34b6 (patch)
treeb4a44d10034f097885a9d7000f884c82885f5ce4 /src/devices
parented341b1c1bb90b5c945fd294ba6346f685373f67 (diff)
mc6845.cpp: Fix mk88 machine
Regression caused by commit c4f0852c. Thanks to Tafoid for catch it.
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/video/mc6845.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/video/mc6845.cpp b/src/devices/video/mc6845.cpp
index fe8e4a0119b..1e9f7fe7b66 100644
--- a/src/devices/video/mc6845.cpp
+++ b/src/devices/video/mc6845.cpp
@@ -582,6 +582,8 @@ 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 ( (!m_reconfigure_cb.isnull()) && (!postload) )
+ m_line_counter = 0;
}
}