diff options
Diffstat (limited to 'src/devices/machine/lpci.cpp')
-rw-r--r-- | src/devices/machine/lpci.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/lpci.cpp b/src/devices/machine/lpci.cpp index 8c2fd6393e0..0fb1536fb18 100644 --- a/src/devices/machine/lpci.cpp +++ b/src/devices/machine/lpci.cpp @@ -263,7 +263,7 @@ void pci_bus_legacy_device::device_start() m_write_callback.resolve_all(); if (m_father) { - pci_bus_legacy_device *father = machine().device<pci_bus_legacy_device>(m_father); + pci_bus_legacy_device *father = machine().root_device().subdevice<pci_bus_legacy_device>(m_father); if (father) father->add_sibling(this, m_busnum); } |