summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/rampart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/rampart.cpp')
-rw-r--r--src/mame/drivers/rampart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/rampart.cpp b/src/mame/drivers/rampart.cpp
index b08de800246..189a8b4cbdc 100644
--- a/src/mame/drivers/rampart.cpp
+++ b/src/mame/drivers/rampart.cpp
@@ -356,8 +356,8 @@ MACHINE_CONFIG_START(rampart_state::rampart)
MCFG_PALETTE_FORMAT(IRRRRRGGGGGBBBBB)
MCFG_PALETTE_MEMBITS(8)
- MCFG_ATARI_MOTION_OBJECTS_ADD("mob", "screen", rampart_state::s_mob_config)
- MCFG_ATARI_MOTION_OBJECTS_GFXDECODE("gfxdecode")
+ ATARI_MOTION_OBJECTS(config, m_mob, 0, m_screen, rampart_state::s_mob_config);
+ m_mob->set_gfxdecode(m_gfxdecode);
MCFG_SCREEN_ADD(m_screen, RASTER)
MCFG_SCREEN_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)