diff options
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 |
commit | a78db2485b050a2d142d1b6a7e123a9f95d79925 (patch) | |
tree | e07c9377a15ba461b4c0124d88912c5790f3ec63 | |
parent | e1166cec8c6cd6a68ad3a0eeb96f4c44c6085fed (diff) |
fixed usage of uninitialized member in wd1770_device (ne)
happened with e.g. fm7
-rw-r--r-- | src/emu/machine/wd17xx.c | 1 |
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(); } |