summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video/crtc6845.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/video/crtc6845.c')
-rw-r--r--src/emu/video/crtc6845.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/video/crtc6845.c b/src/emu/video/crtc6845.c
index 34eb9bcc78d..a1ea9a72bd4 100644
--- a/src/emu/video/crtc6845.c
+++ b/src/emu/video/crtc6845.c
@@ -91,6 +91,7 @@ void crtc6845_config(int which, const crtc6845_interface *intf)
{
crtc6845_state *chip = &crtc6845;
+ memset(chip, 0, sizeof(*chip));
crtc6845_init();
chip->intf = intf;