summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author ajrhacker <ajrhacker@users.noreply.github.com>2018-12-01 10:02:41 -0500
committer GitHub <noreply@github.com>2018-12-01 10:02:41 -0500
commit071215ecd39566c29cfe4dc251b02b8b010b0299 (patch)
tree440d92d0a826d97c08cb6b338f30d6b7872a3b32
parent61324bebc8d6c6be8fb20a6d946d661a3be8e6ac (diff)
parentecadf5d0b6eb8af97f5669c281afafb8397c7e7d (diff)
Merge pull request #4358 from hp9k/no_reset
Revert "hp9k3xx: call reset() instead of manually resetting subdevice…
-rw-r--r--src/devices/bus/hp_dio/human_interface.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/bus/hp_dio/human_interface.cpp b/src/devices/bus/hp_dio/human_interface.cpp
index 49caff350e9..9c58672e11d 100644
--- a/src/devices/bus/hp_dio/human_interface.cpp
+++ b/src/devices/bus/hp_dio/human_interface.cpp
@@ -146,12 +146,13 @@ 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)
- reset();
+ device_reset();
}
void human_interface_device::update_gpib_irq()
@@ -199,7 +200,7 @@ WRITE8_MEMBER(human_interface_device::gpib_w)
switch (offset) {
case 0:
- reset();
+ device_reset();
break;
case 1: