summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/segas32.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-09-26 18:24:17 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2018-09-26 18:24:17 +0200
commit0cd1758e544f3f89df226b9861b7201be7fd4b3a (patch)
tree8961c7c056ec734a3d2f16e7620b132b52d53360 /src/mame/drivers/segas32.cpp
parent0ab6ef3f39e7fc5a2a136d24137e09b8e7859a2a (diff)
upd1990a, upd4701, upd4992, upd7002: removed MCFG macros (nw)
Diffstat (limited to 'src/mame/drivers/segas32.cpp')
-rw-r--r--src/mame/drivers/segas32.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/segas32.cpp b/src/mame/drivers/segas32.cpp
index d0a659bb374..3631259645f 100644
--- a/src/mame/drivers/segas32.cpp
+++ b/src/mame/drivers/segas32.cpp
@@ -2326,17 +2326,17 @@ MACHINE_CONFIG_START(segas32_trackball_state::device_add_mconfig)
MCFG_DEVICE_MODIFY("maincpu")
MCFG_DEVICE_PROGRAM_MAP(system32_trackball_map)
- MCFG_DEVICE_ADD("upd1", UPD4701A, 0)
- MCFG_UPD4701_PORTX("TRACKX1")
- MCFG_UPD4701_PORTY("TRACKY1")
+ upd4701_device &upd1(UPD4701A(config, "upd1"));
+ upd1.set_portx_tag("TRACKX1");
+ upd1.set_porty_tag("TRACKY1");
- MCFG_DEVICE_ADD("upd2", UPD4701A, 0)
- MCFG_UPD4701_PORTX("TRACKX2")
- MCFG_UPD4701_PORTY("TRACKY2")
+ upd4701_device &upd2(UPD4701A(config, "upd2"));
+ upd2.set_portx_tag("TRACKX2");
+ upd2.set_porty_tag("TRACKY2");
- MCFG_DEVICE_ADD("upd3", UPD4701A, 0)
- MCFG_UPD4701_PORTX("TRACKX3")
- MCFG_UPD4701_PORTY("TRACKY3")
+ upd4701_device &upd3(UPD4701A(config, "upd3"));
+ upd3.set_portx_tag("TRACKX3");
+ upd3.set_porty_tag("TRACKY3");
// 837-8685 I/O board has an unpopulated space for a fourth UPD4701A
MACHINE_CONFIG_END