summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/rampart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/rampart.cpp')
-rw-r--r--src/mame/drivers/rampart.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/rampart.cpp b/src/mame/drivers/rampart.cpp
index ffeb0a6ec8f..396afcc951f 100644
--- a/src/mame/drivers/rampart.cpp
+++ b/src/mame/drivers/rampart.cpp
@@ -345,8 +345,7 @@ MACHINE_CONFIG_START(rampart_state::rampart)
MCFG_DEVICE_ADD("slapstic", SLAPSTIC, 118, true)
- MCFG_EEPROM_2816_ADD("eeprom")
- MCFG_EEPROM_28XX_LOCK_AFTER_WRITE(true)
+ EEPROM_2816(config, "eeprom").lock_after_write(true);
MCFG_WATCHDOG_ADD("watchdog")
MCFG_WATCHDOG_VBLANK_INIT("screen", 8)