Merge pull request #4328 from hp9k/human_interface_reset

hp9k3xx: call reset() instead of manually resetting subdevices (nw)
This commit is contained in:
R. Belmont 2018-11-23 09:36:47 -05:00 committed by GitHub
commit bf9451944c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()
@ -192,7 +191,7 @@ WRITE8_MEMBER(human_interface_device::gpib_w)
switch (offset) {
case 0:
device_reset();
reset();
break;
case 3: