summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2014-05-13 11:56:35 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2014-05-13 11:56:35 +0000
commit8db8ef278ebc079e0116f1556d0b9b3779e1ecc1 (patch)
tree95912d8a10c8edc14991e7c5f1b3c9d685bebc41 /src/emu
parentf04842b8da7c63a492a8afc9fa229975e10ecd0d (diff)
fixed MT05515 (fixed usage of uninitialized member in huc6260_device) (nw)
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/video/huc6260.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/video/huc6260.c b/src/emu/video/huc6260.c
index 2c821119d6d..1bcac63a256 100644
--- a/src/emu/video/huc6260.c
+++ b/src/emu/video/huc6260.c
@@ -273,6 +273,7 @@ void huc6260_device::device_reset()
m_pixels_per_clock = 4;
m_height = 263;
m_pixel_clock = 0;
+ memset(m_palette, 0x00, sizeof(m_palette));
m_last_v = m_screen->vpos();
m_last_h = m_screen->hpos();