diff options
Diffstat (limited to 'src/mame/drivers/cave.cpp')
-rw-r--r-- | src/mame/drivers/cave.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/mame/drivers/cave.cpp b/src/mame/drivers/cave.cpp index 31ba73bfd19..b2cf78c0d05 100644 --- a/src/mame/drivers/cave.cpp +++ b/src/mame/drivers/cave.cpp @@ -2103,7 +2103,7 @@ MACHINE_CONFIG_START(cave_state::dfeveron) MCFG_DEVICE_VBLANK_INT_DRIVER("screen", cave_state, cave_interrupt) MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT) + EEPROM_93C46_16BIT(config, "eeprom"); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2143,7 +2143,7 @@ MACHINE_CONFIG_START(cave_state::ddonpach) MCFG_DEVICE_VBLANK_INT_DRIVER("screen", cave_state, cave_interrupt) MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT) + EEPROM_93C46_16BIT(config, "eeprom"); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2182,7 +2182,7 @@ MACHINE_CONFIG_START(cave_state::donpachi) MCFG_DEVICE_VBLANK_INT_DRIVER("screen", cave_state, cave_interrupt) MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT) + EEPROM_93C46_16BIT(config, "eeprom"); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2228,7 +2228,7 @@ MACHINE_CONFIG_START(cave_state::esprade) MCFG_DEVICE_VBLANK_INT_DRIVER("screen", cave_state, cave_interrupt) MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT) + EEPROM_93C46_16BIT(config, "eeprom"); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2307,7 +2307,7 @@ MACHINE_CONFIG_START(cave_state::guwange) MCFG_DEVICE_VBLANK_INT_DRIVER("screen", cave_state, cave_interrupt) MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT) + EEPROM_93C46_16BIT(config, "eeprom"); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2349,7 +2349,7 @@ MACHINE_CONFIG_START(cave_state::hotdogst) MCFG_DEVICE_IO_MAP(hotdogst_sound_portmap) MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT) + EEPROM_93C46_16BIT(config, "eeprom"); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2398,7 +2398,7 @@ MACHINE_CONFIG_START(cave_state::korokoro) MCFG_DEVICE_VBLANK_INT_DRIVER("screen", cave_state, cave_interrupt) MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_8BIT) + EEPROM_93C46_16BIT(config, "eeprom"); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2450,7 +2450,7 @@ MACHINE_CONFIG_START(cave_state::mazinger) MCFG_WATCHDOG_TIME_INIT(attotime::from_seconds(3)) /* a guess, and certainly wrong */ MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT) + EEPROM_93C46_16BIT(config, "eeprom"); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2506,7 +2506,7 @@ MACHINE_CONFIG_START(cave_state::metmqstr) MCFG_WATCHDOG_TIME_INIT(attotime::from_seconds(3)) /* a guess, and certainly wrong */ MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) /* start with the watchdog armed */ - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT) + EEPROM_93C46_16BIT(config, "eeprom"); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2562,7 +2562,7 @@ MACHINE_CONFIG_START(cave_state::pacslot) MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT, eeprom_serial_streaming::ENABLE) + EEPROM_93C46_16BIT(config, "eeprom", eeprom_serial_streaming::ENABLE); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2619,7 +2619,7 @@ MACHINE_CONFIG_START(cave_state::ppsatan) MCFG_WATCHDOG_TIME_INIT(attotime::from_seconds(1)) /* a guess, and certainly wrong */ MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT) + EEPROM_93C46_16BIT(config, "eeprom"); MCFG_TIMER_DRIVER_ADD_PERIODIC("timer_lev2", cave_state, timer_lev2_cb, attotime::from_hz(60)) @@ -2683,7 +2683,7 @@ MACHINE_CONFIG_START(cave_state::pwrinst2) MCFG_DEVICE_IO_MAP(pwrinst2_sound_portmap) MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT) + EEPROM_93C46_16BIT(config, "eeprom"); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2758,7 +2758,7 @@ MACHINE_CONFIG_START(cave_state::sailormn) // MCFG_QUANTUM_TIME(attotime::from_hz(600)) MCFG_MACHINE_RESET_OVERRIDE(cave_state,sailormn) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT) + EEPROM_93C46_16BIT(config, "eeprom"); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2816,7 +2816,7 @@ MACHINE_CONFIG_START(cave_state::tekkencw) MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT, eeprom_serial_streaming::ENABLE) + EEPROM_93C46_16BIT(config, "eeprom", eeprom_serial_streaming::ENABLE); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2870,7 +2870,7 @@ MACHINE_CONFIG_START(cave_state::tjumpman) MCFG_MACHINE_RESET_OVERRIDE(cave_state,cave) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT, eeprom_serial_streaming::ENABLE) + EEPROM_93C46_16BIT(config, "eeprom", eeprom_serial_streaming::ENABLE); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) @@ -2911,7 +2911,7 @@ MACHINE_CONFIG_START(cave_state::uopoko) MCFG_DEVICE_PROGRAM_MAP(uopoko_map) MCFG_DEVICE_VBLANK_INT_DRIVER("screen", cave_state, cave_interrupt) - MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT) + EEPROM_93C46_16BIT(config, "eeprom"); MCFG_TIMER_DRIVER_ADD("int_timer", cave_state, cave_vblank_start) |