summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/maygay1b.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/maygay1b.cpp')
-rw-r--r--src/mame/drivers/maygay1b.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/maygay1b.cpp b/src/mame/drivers/maygay1b.cpp
index e06204f27b4..90905c42dfd 100644
--- a/src/mame/drivers/maygay1b.cpp
+++ b/src/mame/drivers/maygay1b.cpp
@@ -836,25 +836,25 @@ MACHINE_CONFIG_START(maygay1b_state::maygay_m1)
REEL(config, m_reels[5], STARPOINT_48STEP_REEL, 1, 3, 0x09, 4);
m_reels[5]->optic_handler().set(FUNC(maygay1b_state::reel_optic_cb<5>));
- MCFG_DEVICE_ADD("meters", METERS, 0)
- MCFG_METERS_NUMBER(8)
+ METERS(config, m_meters, 0).set_number(8);
NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
config.set_default_layout(layout_maygay1b);
MACHINE_CONFIG_END
-MACHINE_CONFIG_START(maygay1b_state::maygay_m1_no_oki)
+void maygay1b_state::maygay_m1_no_oki(machine_config &config)
+{
maygay_m1(config);
- MCFG_DEVICE_REMOVE("msm6376")
-MACHINE_CONFIG_END
+ config.device_remove("msm6376");
+}
MACHINE_CONFIG_START(maygay1b_state::maygay_m1_nec)
maygay_m1(config);
MCFG_DEVICE_MODIFY("maincpu")
MCFG_DEVICE_PROGRAM_MAP(m1_nec_memmap)
- MCFG_DEVICE_REMOVE("msm6376")
+ config.device_remove("msm6376");
MCFG_DEVICE_ADD("upd", UPD7759)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)