From eb3f890729de41001c1e2aa3e720a8c175e15ba0 Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Fri, 23 Nov 2018 08:07:20 +0100 Subject: hp9k3xx: call reset() instead of manually resetting subdevices (nw) --- src/devices/bus/hp_dio/human_interface.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/devices/bus/hp_dio/human_interface.cpp b/src/devices/bus/hp_dio/human_interface.cpp index 61ca1531fb6..4fa7c2ce274 100644 --- a/src/devices/bus/hp_dio/human_interface.cpp +++ b/src/devices/bus/hp_dio/human_interface.cpp @@ -144,13 +144,12 @@ void human_interface_device::device_reset() m_rtc->write_w(CLEAR_LINE); m_rtc->read_w(CLEAR_LINE); m_rtc->cs2_w(CLEAR_LINE); - m_iocpu->reset(); } WRITE_LINE_MEMBER(human_interface_device::reset_in) { if (state) - device_reset(); + reset(); } void human_interface_device::update_gpib_irq() @@ -189,7 +188,7 @@ WRITE8_MEMBER(human_interface_device::gpib_w) switch (offset) { case 0: - device_reset(); + reset(); break; case 3: -- cgit v1.2.3