mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
bus/vme: avoid breaking listxml
This commit is contained in:
parent
94175dd69c
commit
f1dd0d0651
@ -263,6 +263,7 @@ device_vme_card_interface::device_vme_card_interface(machine_config const &mconf
|
||||
void device_vme_card_interface::interface_config_complete()
|
||||
{
|
||||
// route bus errors to the card when it is the bus master
|
||||
if (m_slot) // HACK: avoid breaking listxml until proper fix can be identified
|
||||
m_slot->berr().append(
|
||||
[this](int state)
|
||||
{
|
||||
|
@ -283,6 +283,8 @@ void sgi_ip4_device::device_add_mconfig(machine_config &config)
|
||||
|
||||
void sgi_ip4_device::device_config_complete()
|
||||
{
|
||||
if (owner() && owner()->owner())
|
||||
{
|
||||
// TODO: ACFAIL -> vme_irq<0>
|
||||
device_vme_card_interface::vme_irq<1>().append(*this, FUNC(sgi_ip4_device::vme_irq<1>));
|
||||
device_vme_card_interface::vme_irq<2>().append(*this, FUNC(sgi_ip4_device::vme_irq<2>));
|
||||
@ -293,6 +295,7 @@ void sgi_ip4_device::device_config_complete()
|
||||
device_vme_card_interface::vme_irq<7>().append(*this, FUNC(sgi_ip4_device::vme_irq<7>));
|
||||
|
||||
vme_berr().set_inputline(m_cpu, INPUT_LINE_IRQ5).invert();
|
||||
}
|
||||
}
|
||||
|
||||
void sgi_ip4_device::device_start()
|
||||
|
Loading…
Reference in New Issue
Block a user