summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/photoply.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/photoply.cpp')
-rw-r--r--src/mame/drivers/photoply.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/photoply.cpp b/src/mame/drivers/photoply.cpp
index eab794054d8..9d911acd4fb 100644
--- a/src/mame/drivers/photoply.cpp
+++ b/src/mame/drivers/photoply.cpp
@@ -327,9 +327,9 @@ MACHINE_CONFIG_START(photoply_state::photoply)
MCFG_DEVICE_ADD("vga", CIRRUS_GD5446, 0)
MCFG_VIDEO_SET_SCREEN("screen")
- MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT)
- MCFG_EEPROM_WRITE_TIME(attotime::from_usec(1))
- MCFG_EEPROM_ERASE_ALL_TIME(attotime::from_usec(10))
+ EEPROM_93C46_16BIT(config, "eeprom")
+ .write_time(attotime::from_usec(1))
+ .erase_all_time(attotime::from_usec(10));
MACHINE_CONFIG_END