summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2019-03-08 16:11:43 -0500
committer GitHub <noreply@github.com>2019-03-08 16:11:43 -0500
commitd4843a7b57aadcb20f12e9393b04ee4605941e8b (patch)
tree95bd883592646fe284e6d41c86cc27e1cf4abfe9
parent6339d8d1321a9814422e0a591202236f8458cdb1 (diff)
parent97377ac34a7e3fdac5459950b9367739914c34b6 (diff)
Merge pull request #4733 from AmatCoder/AmatCoder-mc6845-3
mc6845.cpp: Fix mk88 machine
-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;
}
}