summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/hp_dio
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2018-11-23 09:36:47 -0500
committer GitHub <noreply@github.com>2018-11-23 09:36:47 -0500
commitbf9451944c811d3c5ad42ebf5b0b35e71900afd7 (patch)
treeaf9d7c21105fa4351b72fe58433e011e74cdf080 /src/devices/bus/hp_dio
parent6d1a54a635c7083cafb25f8660e4bce3f7aa81a1 (diff)
parenteb3f890729de41001c1e2aa3e720a8c175e15ba0 (diff)
Merge pull request #4328 from hp9k/human_interface_reset
hp9k3xx: call reset() instead of manually resetting subdevices (nw)
Diffstat (limited to 'src/devices/bus/hp_dio')
-rw-r--r--src/devices/bus/hp_dio/human_interface.cpp5
1 files 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 6bccebbd27f..278dcabcb75 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()
@@ -192,7 +191,7 @@ WRITE8_MEMBER(human_interface_device::gpib_w)
switch (offset) {
case 0:
- device_reset();
+ reset();
break;
case 3: