mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Make JVS work with -listxml
This commit is contained in:
parent
3442b52f2a
commit
8e4c21c5e9
1 changed files with 1 additions and 2 deletions
|
@ -289,8 +289,7 @@ device_jvs_interface::device_jvs_interface(const machine_config &mconfig, device
|
||||||
m_root = m_port;
|
m_root = m_port;
|
||||||
if (m_root)
|
if (m_root)
|
||||||
{
|
{
|
||||||
device_jvs_interface *intf;
|
while (m_root->owner() && dynamic_cast<jvs_port_device *>(m_root->owner()->owner()))
|
||||||
while (m_root->owner() && m_root->owner()->interface(intf) && m_root->owner()->owner())
|
|
||||||
m_root = dynamic_cast<jvs_port_device *>(m_root->owner()->owner());
|
m_root = dynamic_cast<jvs_port_device *>(m_root->owner()->owner());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue