summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Oliver Stöneberg <oliverst@online.de>2014-10-26 08:33:02 +0100
committer Oliver Stöneberg <oliverst@online.de>2014-10-26 08:33:02 +0100
commita78db2485b050a2d142d1b6a7e123a9f95d79925 (patch)
treee07c9377a15ba461b4c0124d88912c5790f3ec63
parente1166cec8c6cd6a68ad3a0eeb96f4c44c6085fed (diff)
fixed usage of uninitialized member in wd1770_device (ne)
happened with e.g. fm7
-rw-r--r--src/emu/machine/wd17xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/machine/wd17xx.c b/src/emu/machine/wd17xx.c
index 0d149af3598..7dacd8dd939 100644
--- a/src/emu/machine/wd17xx.c
+++ b/src/emu/machine/wd17xx.c
@@ -2045,6 +2045,7 @@ void wd1770_device::device_reset()
m_last_command_data = 0;
m_interrupt = 0;
m_data_count = 0;
+ m_idx = 0;
wd17xx_command_restore();
}