summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/expro02.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-12-03 20:56:15 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2018-12-03 20:56:15 +0100
commit0f5b8d7f581a200c7aef762272b7d3df19651a22 (patch)
treef1fa2519396ddd600584871d946e75786f3dff9e /src/mame/drivers/expro02.cpp
parent828294de32bff872c23fcf750068e6d63ebbcc49 (diff)
src\mame: misc MCFG removal (nw)
Diffstat (limited to 'src/mame/drivers/expro02.cpp')
-rw-r--r--src/mame/drivers/expro02.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mame/drivers/expro02.cpp b/src/mame/drivers/expro02.cpp
index 07ad65ca712..d1b2dc0e6b2 100644
--- a/src/mame/drivers/expro02.cpp
+++ b/src/mame/drivers/expro02.cpp
@@ -944,10 +944,7 @@ MACHINE_CONFIG_START(expro02_state::expro02)
m_kaneko_spr->set_offsets(0, -0x40);
m_kaneko_spr->set_gfxdecode_tag("gfxdecode");
- MCFG_DEVICE_ADD("calc1_mcu", KANEKO_HIT, 0)
- MCFG_KANEKO_HIT_TYPE(0)
-
-
+ KANEKO_HIT(config, "calc1_mcu").set_type(0);
/* arm watchdog */
WATCHDOG_TIMER(config, "watchdog").set_time(attotime::from_seconds(3)); /* a guess, and certainly wrong */
@@ -968,7 +965,7 @@ MACHINE_CONFIG_START(expro02_state::comad)
MCFG_DEVICE_MODIFY("maincpu")
MCFG_DEVICE_PROGRAM_MAP(fantasia_map)
- MCFG_DEVICE_REMOVE("calc1_mcu")
+ config.device_remove("calc1_mcu");
// these values might not be correct, behavior differs from original boards
m_view2_0->set_invert_flip(1);