summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/gunbustr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gunbustr.cpp')
-rw-r--r--src/mame/drivers/gunbustr.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/gunbustr.cpp b/src/mame/drivers/gunbustr.cpp
index 3f3059d074b..d42bf2cbf64 100644
--- a/src/mame/drivers/gunbustr.cpp
+++ b/src/mame/drivers/gunbustr.cpp
@@ -231,9 +231,9 @@ GFXDECODE_END
MACHINE_CONFIG_START(gunbustr_state::gunbustr)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", M68EC020, XTAL(16'000'000))
- MCFG_CPU_PROGRAM_MAP(gunbustr_map)
- MCFG_CPU_VBLANK_INT_DRIVER("screen", gunbustr_state, gunbustr_interrupt) /* VBL */
+ MCFG_DEVICE_ADD("maincpu", M68EC020, XTAL(16'000'000))
+ MCFG_DEVICE_PROGRAM_MAP(gunbustr_map)
+ MCFG_DEVICE_VBLANK_INT_DRIVER("screen", gunbustr_state, gunbustr_interrupt) /* VBL */
MCFG_EEPROM_SERIAL_93C46_ADD("eeprom")
@@ -241,10 +241,10 @@ MACHINE_CONFIG_START(gunbustr_state::gunbustr)
MCFG_TC0510NIO_READ_0_CB(IOPORT("EXTRA"))
MCFG_TC0510NIO_READ_2_CB(IOPORT("INPUTS"))
MCFG_TC0510NIO_READ_3_CB(IOPORT("SPECIAL"))
- MCFG_TC0510NIO_WRITE_3_CB(DEVWRITELINE("eeprom", eeprom_serial_93cxx_device, clk_write)) MCFG_DEVCB_BIT(5)
- MCFG_DEVCB_CHAIN_OUTPUT(DEVWRITELINE("eeprom", eeprom_serial_93cxx_device, di_write)) MCFG_DEVCB_BIT(6)
- MCFG_DEVCB_CHAIN_OUTPUT(DEVWRITELINE("eeprom", eeprom_serial_93cxx_device, cs_write)) MCFG_DEVCB_BIT(4)
- MCFG_TC0510NIO_WRITE_4_CB(WRITE8(gunbustr_state, coin_word_w))
+ MCFG_TC0510NIO_WRITE_3_CB(WRITELINE("eeprom", eeprom_serial_93cxx_device, clk_write)) MCFG_DEVCB_BIT(5)
+ MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("eeprom", eeprom_serial_93cxx_device, di_write)) MCFG_DEVCB_BIT(6)
+ MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("eeprom", eeprom_serial_93cxx_device, cs_write)) MCFG_DEVCB_BIT(4)
+ MCFG_TC0510NIO_WRITE_4_CB(WRITE8(*this, gunbustr_state, coin_word_w))
MCFG_TC0510NIO_READ_7_CB(IOPORT("SYSTEM"))
/* video hardware */