summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/wd17xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/wd17xx.c')
-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();
}