hp9k3xx: call reset() instead of manually resetting subdevices (nw)

This commit is contained in:
Sven Schnelle 2018-11-23 08:07:20 +01:00
parent 0ac5f76c95
commit eb3f890729

View File

@ -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: