summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cxhumax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cxhumax.cpp')
-rw-r--r--src/mame/drivers/cxhumax.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/cxhumax.cpp b/src/mame/drivers/cxhumax.cpp
index c76d565ca51..d64bc10c2ec 100644
--- a/src/mame/drivers/cxhumax.cpp
+++ b/src/mame/drivers/cxhumax.cpp
@@ -1061,8 +1061,7 @@ MACHINE_CONFIG_START(cxhumax_state::cxhumax)
MCFG_INTEL_28F320J3D_ADD("flash")
- MCFG_I2CMEM_ADD("eeprom")
- MCFG_I2CMEM_DATA_SIZE(0x2000)
+ I2CMEM(config, "eeprom", 0).set_data_size(0x2000);
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)