diff options
Diffstat (limited to 'src/mame/drivers/cps1.cpp')
-rw-r--r-- | src/mame/drivers/cps1.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/cps1.cpp b/src/mame/drivers/cps1.cpp index 1da56494129..2d949bac9ee 100644 --- a/src/mame/drivers/cps1.cpp +++ b/src/mame/drivers/cps1.cpp @@ -3427,9 +3427,9 @@ MACHINE_CONFIG_START(cps_state::forgottn) MCFG_DEVICE_MODIFY("maincpu") MCFG_DEVICE_PROGRAM_MAP(forgottn_map) - MCFG_DEVICE_ADD("upd4701", UPD4701A, 0) - MCFG_UPD4701_PORTX("DIAL0") - MCFG_UPD4701_PORTY("DIAL1") + upd4701_device &upd4701(UPD4701A(config, "upd4701")); + upd4701.set_portx_tag("DIAL0"); + upd4701.set_porty_tag("DIAL1"); MACHINE_CONFIG_END MACHINE_CONFIG_START(cps_state::cps1_12MHz) |