From cc24a339d8c0517259084b5c178d784626ba965c Mon Sep 17 00:00:00 2001 From: ImJezze Date: Sun, 21 Feb 2016 11:48:45 +0100 Subject: Merge remote-tracking branch 'refs/remotes/mamedev/master' Second attempt --- src/devices/video/mc6845.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/devices/video/mc6845.cpp') diff --git a/src/devices/video/mc6845.cpp b/src/devices/video/mc6845.cpp index 57813f574ab..04e7c967869 100644 --- a/src/devices/video/mc6845.cpp +++ b/src/devices/video/mc6845.cpp @@ -553,7 +553,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; - m_line_counter = 0; + if (!postload) // set m_line_counter to 0 on normal operation, but not on postload + m_line_counter = 0; } } -- cgit v1.2.3-70-g09d2