mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
Merge pull request #4328 from hp9k/human_interface_reset
hp9k3xx: call reset() instead of manually resetting subdevices (nw)
This commit is contained in:
commit
bf9451944c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user