diff options
Diffstat (limited to 'src/emu/machine/pci.h')
-rw-r--r-- | src/emu/machine/pci.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/emu/machine/pci.h b/src/emu/machine/pci.h index c7d0d853516..a850c4077d5 100644 --- a/src/emu/machine/pci.h +++ b/src/emu/machine/pci.h @@ -71,14 +71,11 @@ extern const device_type PCI_BUS_LEGACY; #define MCFG_PCI_BUS_LEGACY_ADD(_tag, _busnum) \ MCFG_DEVICE_ADD(_tag, PCI_BUS_LEGACY, 0) \ - downcast<pci_bus_legacy_device *>(device)->set_busnum(_busnum); \ - + downcast<pci_bus_legacy_device *>(device)->set_busnum(_busnum); #define MCFG_PCI_BUS_LEGACY_DEVICE(_devnum, _devtag, _configread, _configwrite) \ - downcast<pci_bus_legacy_device *>(device)->set_device(_devnum, _devtag,_configread,_configwrite); \ - + downcast<pci_bus_legacy_device *>(device)->set_device(_devnum, _devtag,_configread,_configwrite); #define MCFG_PCI_BUS_LEGACY_SIBLING(_father_tag) \ - downcast<pci_bus_legacy_device *>(device)->set_father(_father_tag); \ - + downcast<pci_bus_legacy_device *>(device)->set_father(_father_tag); // NEW IMPLEMENTATION @@ -171,15 +168,13 @@ extern const device_type PCI_BUS; #define MCFG_PCI_BUS_ADD(_tag, _busnum) \ MCFG_DEVICE_ADD(_tag, PCI_BUS, 0) \ - downcast<pci_bus_device *>(device)->set_busnum(_busnum); \ - + downcast<pci_bus_device *>(device)->set_busnum(_busnum); #define MCFG_PCI_BUS_DEVICE(_tag, _slot_intf, _def_slot, _def_inp, _def_config, _def_clock, _fixed) \ MCFG_DEVICE_ADD(_tag, PCI_CONNECTOR, 0) \ MCFG_DEVICE_SLOT_INTERFACE_FULL(_slot_intf, _def_slot, _def_inp, _def_config, _def_clock, _fixed) #define MCFG_PCI_BUS_SIBLING(_father_tag) \ - downcast<pci_bus_device *>(device)->set_father(_father_tag); \ - + downcast<pci_bus_device *>(device)->set_father(_father_tag); #endif /* PCI_H */ |