mirror of
https://github.com/holub/mame
synced 2025-05-02 04:31:01 +03:00
Revert "hp9k3xx: call reset() instead of manually resetting subdevices (nw)"
This reverts commit eb3f890729
.
This commit is contained in:
parent
d026809d9c
commit
ecadf5d0b6
@ -146,12 +146,13 @@ void human_interface_device::device_reset()
|
|||||||
m_rtc->write_w(CLEAR_LINE);
|
m_rtc->write_w(CLEAR_LINE);
|
||||||
m_rtc->read_w(CLEAR_LINE);
|
m_rtc->read_w(CLEAR_LINE);
|
||||||
m_rtc->cs2_w(CLEAR_LINE);
|
m_rtc->cs2_w(CLEAR_LINE);
|
||||||
|
m_iocpu->reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
WRITE_LINE_MEMBER(human_interface_device::reset_in)
|
WRITE_LINE_MEMBER(human_interface_device::reset_in)
|
||||||
{
|
{
|
||||||
if (state)
|
if (state)
|
||||||
reset();
|
device_reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
void human_interface_device::update_gpib_irq()
|
void human_interface_device::update_gpib_irq()
|
||||||
@ -199,7 +200,7 @@ WRITE8_MEMBER(human_interface_device::gpib_w)
|
|||||||
|
|
||||||
switch (offset) {
|
switch (offset) {
|
||||||
case 0:
|
case 0:
|
||||||
reset();
|
device_reset();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user