From a78db2485b050a2d142d1b6a7e123a9f95d79925 Mon Sep 17 00:00:00 2001 From: Oliver Stöneberg Date: Sun, 26 Oct 2014 08:33:02 +0100 Subject: fixed usage of uninitialized member in wd1770_device (ne) happened with e.g. fm7 --- src/emu/machine/wd17xx.c | 1 + 1 file changed, 1 insertion(+) 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(); } -- cgit v1.2.3