MCFG_MODIFY_DEVICE(DEVICE_SELF) is no longer required in machine configs used in a slot option (nw)

This commit is contained in:
smf- 2013-12-18 20:15:09 +00:00
parent d8778b677d
commit 7b1a8df72a
5 changed files with 1 additions and 5 deletions

View File

@ -57,7 +57,6 @@ const device_type A2BUS_HSSCSI = &device_creator<a2bus_hsscsi_device>;
#define SCSI_5380_TAG "scsibus:7:ncr5380"
static MACHINE_CONFIG_FRAGMENT( ncr5380 )
MCFG_DEVICE_MODIFY(DEVICE_SELF)
MCFG_DEVICE_CLOCK(10000000)
MCFG_NCR5380N_DRQ_HANDLER(DEVWRITELINE("^^", a2bus_hsscsi_device, drq_w))
MACHINE_CONFIG_END

View File

@ -50,7 +50,6 @@ const device_type A2BUS_SCSI = &device_creator<a2bus_scsi_device>;
#define SCSI_5380_TAG "scsibus:7:ncr5380"
static MACHINE_CONFIG_FRAGMENT( ncr5380 )
MCFG_DEVICE_MODIFY(DEVICE_SELF)
MCFG_DEVICE_CLOCK(10000000)
MCFG_NCR5380N_DRQ_HANDLER(DEVWRITELINE("^^", a2bus_scsi_device, drq_w))
MACHINE_CONFIG_END

View File

@ -64,7 +64,7 @@ machine_config::machine_config(const game_driver &gamedrv, emu_options &options)
machine_config_constructor additions = option->machine_config();
if (additions != NULL)
(*additions)(const_cast<machine_config &>(*this), new_dev, NULL);
(*additions)(const_cast<machine_config &>(*this), new_dev, new_dev);
const input_device_default *input_device_defaults = option->input_device_defaults();
if (input_device_defaults)

View File

@ -845,7 +845,6 @@ WRITE32_MEMBER(rastersp_state::ncr53c700_write)
}
static MACHINE_CONFIG_FRAGMENT( ncr53c700 )
MCFG_DEVICE_MODIFY(DEVICE_SELF)
MCFG_DEVICE_CLOCK(66000000)
MCFG_NCR53C7XX_IRQ_HANDLER(DEVWRITELINE(":", rastersp_state, scsi_irq))
MCFG_NCR53C7XX_HOST_READ(DEVREAD32(":", rastersp_state, ncr53c700_read))

View File

@ -948,7 +948,6 @@ static SLOT_INTERFACE_START( next_scsi_devices )
SLOT_INTERFACE_END
static MACHINE_CONFIG_FRAGMENT( ncr5390 )
MCFG_DEVICE_MODIFY(DEVICE_SELF)
MCFG_DEVICE_CLOCK(10000000)
MCFG_NCR5390_IRQ_HANDLER(DEVWRITELINE(":", next_state, scsi_irq))
MCFG_NCR5390_DRQ_HANDLER(DEVWRITELINE(":", next_state, scsi_drq))