mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
MCFG_MODIFY_DEVICE(DEVICE_SELF) is no longer required in machine configs used in a slot option (nw)
This commit is contained in:
parent
d8778b677d
commit
7b1a8df72a
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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))
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user