From 9cd2e07e75cfb9a3a6efdb1895868adf55d2e44d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Tue, 29 Apr 2014 21:55:59 +0000 Subject: [PATCH] fixed usage of uninitialized members in hc55516_device (nw) --- src/emu/sound/hc55516.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/emu/sound/hc55516.c b/src/emu/sound/hc55516.c index d45cbb72b0a..2b24254cdaa 100644 --- a/src/emu/sound/hc55516.c +++ b/src/emu/sound/hc55516.c @@ -27,7 +27,22 @@ const device_type HC55516 = &device_creator; hc55516_device::hc55516_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, HC55516, "HC-55516", tag, owner, clock, "hc55516", __FILE__), - device_sound_interface(mconfig, *this) + device_sound_interface(mconfig, *this), + m_channel(NULL), + m_active_clock_hi(0), + m_shiftreg_mask(0), + m_last_clock_state(0), + m_digit(0), + m_new_digit(0), + m_shiftreg(0), + m_curr_sample(0), + m_next_sample(0), + m_update_count(0), + m_filter(0), + m_integrator(0), + m_charge(0), + m_decay(0), + m_leak(0) { } hc55516_device::hc55516_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)