summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/arcadecl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/arcadecl.cpp')
-rw-r--r--src/mame/drivers/arcadecl.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/arcadecl.cpp b/src/mame/drivers/arcadecl.cpp
index 7d58f6ffe2a..f56a090ed1e 100644
--- a/src/mame/drivers/arcadecl.cpp
+++ b/src/mame/drivers/arcadecl.cpp
@@ -352,12 +352,13 @@ MACHINE_CONFIG_START(sparkz_state::sparkz)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
-MACHINE_CONFIG_START(arcadecl_state::arcadecl)
+void arcadecl_state::arcadecl(machine_config &config)
+{
sparkz(config);
- MCFG_ATARI_MOTION_OBJECTS_ADD("mob", "screen", arcadecl_state::s_mob_config)
- MCFG_ATARI_MOTION_OBJECTS_GFXDECODE("gfxdecode")
-MACHINE_CONFIG_END
+ ATARI_MOTION_OBJECTS(config, m_mob, 0, m_screen, arcadecl_state::s_mob_config);
+ m_mob->set_gfxdecode(m_gfxdecode);
+}