summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Oliver Stöneberg <oliverst@online.de>2014-12-30 14:51:09 +0100
committer Oliver Stöneberg <oliverst@online.de>2014-12-30 14:51:09 +0100
commitc80ba44bbf0e02b0d636ccd2c0430812cf8970ba (patch)
tree78b6da9557006b9431ab45e06b61be73ff6ce022
parent5538105762554224d700a494adc27967cc072313 (diff)
fixed usage of uninitialized member in tms5110_device (nw)
happened with snspell
-rw-r--r--src/emu/sound/tms5110.c3
1 files changed, 2 insertions, 1 deletions
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;