From 9f5a2a7980f343e699c732209fe0a0eb51a879f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Fri, 22 Feb 2013 21:39:19 +0000 Subject: [PATCH] fixed uninitialized members in src/emu/video/huc6261.c (nw) --- src/emu/video/huc6261.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/emu/video/huc6261.c b/src/emu/video/huc6261.c index 6c2f9985b69..550f7fa2859 100644 --- a/src/emu/video/huc6261.c +++ b/src/emu/video/huc6261.c @@ -439,6 +439,9 @@ void huc6261_device::device_reset() m_register = 0; m_pixels_per_clock = 4; m_height = 263; + m_pixel_clock = 0; + + memset(m_palette, 0, sizeof(m_palette)); m_last_v = m_screen->vpos(); m_last_h = m_screen->hpos();