mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
hp9k3xx: call reset() instead of manually resetting subdevices (nw)
This commit is contained in:
parent
0ac5f76c95
commit
eb3f890729
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user