summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tti.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tti.cpp')
-rw-r--r--src/mame/drivers/tti.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/tti.cpp b/src/mame/drivers/tti.cpp
index 1ded05ab12d..b0cdd64be79 100644
--- a/src/mame/drivers/tti.cpp
+++ b/src/mame/drivers/tti.cpp
@@ -73,8 +73,7 @@ MACHINE_CONFIG_START(tti_state::tti)
MCFG_DEVICE_ADD("rs232", RS232_PORT, default_rs232_devices, "terminal")
MCFG_RS232_RXD_HANDLER(WRITELINE("mfp", mc68901_device, write_rx))
- MCFG_DEVICE_ADD("novram", EEPROM_SERIAL_X24C44_16BIT)
- MCFG_EEPROM_SERIAL_DO_CALLBACK(WRITELINE("mfp", mc68901_device, i0_w))
+ EEPROM_X24C44_16BIT(config, "novram").do_callback().set("mfp", FUNC(mc68901_device::i0_w));
ls259_device &bitlatch(LS259(config, "bitlatch")); // U17
bitlatch.q_out_cb<0>().set("novram", FUNC(eeprom_serial_x24c44_device::di_write));