summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/thedeep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/thedeep.cpp')
-rw-r--r--src/mame/drivers/thedeep.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/thedeep.cpp b/src/mame/drivers/thedeep.cpp
index d3014f5dd75..eb41aa0897f 100644
--- a/src/mame/drivers/thedeep.cpp
+++ b/src/mame/drivers/thedeep.cpp
@@ -436,10 +436,10 @@ MACHINE_CONFIG_START(thedeep_state::thedeep)
MCFG_PALETTE_ADD("palette", 512)
MCFG_PALETTE_INIT_OWNER(thedeep_state, thedeep)
- MCFG_DEVICE_ADD("spritegen", DECO_MXC06, 0)
- MCFG_DECO_MXC06_GFX_REGION(0)
- MCFG_DECO_MXC06_GFXDECODE("gfxdecode")
- MCFG_DECO_MXC06_RAMSIZE(0x400)
+ DECO_MXC06(config, m_spritegen, 0);
+ m_spritegen->set_gfx_region(0);
+ m_spritegen->set_gfxdecode_tag(m_gfxdecode);
+ m_spritegen->set_ram_size(0x400);
/* sound hardware */
SPEAKER(config, "mono").front_center();