summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/mc6845.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/mc6845.cpp')
-rw-r--r--src/devices/video/mc6845.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/devices/video/mc6845.cpp b/src/devices/video/mc6845.cpp
index c1e3ca971aa..dfa37d0f568 100644
--- a/src/devices/video/mc6845.cpp
+++ b/src/devices/video/mc6845.cpp
@@ -913,7 +913,11 @@ void mc6845_device::handle_line_timer()
update_cursor_state();
if (has_screen())
- screen().reset_origin();
+ {
+ // HACK: prevent asoccer from hanging MAME by repeatedly stalling VBLANK periods and attendant frame updates
+ if (!m_vsync || !new_vsync)
+ screen().reset_origin();
+ }
}
else
{