From c80ba44bbf0e02b0d636ccd2c0430812cf8970ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Tue, 30 Dec 2014 14:51:09 +0100 Subject: fixed usage of uninitialized member in tms5110_device (nw) happened with snspell --- src/emu/sound/tms5110.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/emu/sound/tms5110.c b/src/emu/sound/tms5110.c index e0b60a4d4d6..16e96a13226 100644 --- a/src/emu/sound/tms5110.c +++ b/src/emu/sound/tms5110.c @@ -963,8 +963,9 @@ void tms5110_device::device_reset() /* initialize the chip state */ m_speaking_now = m_talk_status = 0; m_CTL_pins = 0; - m_RNG = 0x1fff; + m_RNG = 0x1fff; m_CTL_buffer = 0; + m_PDC = 0; /* initialize the energy/pitch/k states */ m_old_energy = m_new_energy = m_current_energy = m_target_energy = 0; -- cgit v1.2.3