summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/luckgrln.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/luckgrln.cpp')
-rw-r--r--src/mame/drivers/luckgrln.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/luckgrln.cpp b/src/mame/drivers/luckgrln.cpp
index 63507f60509..b0f1080b070 100644
--- a/src/mame/drivers/luckgrln.cpp
+++ b/src/mame/drivers/luckgrln.cpp
@@ -872,7 +872,7 @@ MACHINE_CONFIG_START(luckgrln_state::luckgrln)
crtc.set_show_border_area(false);
crtc.set_char_width(8);
- MCFG_DEVICE_ADD("rtc", MSM6242, 0)
+ MSM6242(config, "rtc", 0);
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
@@ -895,7 +895,7 @@ MACHINE_CONFIG_START(luckgrln_state::_7smash)
MCFG_DEVICE_PROGRAM_MAP(_7smash_map)
MCFG_DEVICE_IO_MAP(_7smash_io)
- MCFG_DEVICE_REMOVE("rtc")
+ config.device_remove("rtc");
MACHINE_CONFIG_END
void luckgrln_state::init_luckgrln()