summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hvyunit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hvyunit.cpp')
-rw-r--r--src/mame/drivers/hvyunit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/hvyunit.cpp b/src/mame/drivers/hvyunit.cpp
index 96bf825d958..525750f2772 100644
--- a/src/mame/drivers/hvyunit.cpp
+++ b/src/mame/drivers/hvyunit.cpp
@@ -665,8 +665,8 @@ MACHINE_CONFIG_START(hvyunit_state::hvyunit)
MCFG_PALETTE_ADD("palette", 0x800)
MCFG_PALETTE_FORMAT(xxxxRRRRGGGGBBBB)
- MCFG_DEVICE_ADD("pandora", KANEKO_PANDORA, 0)
- MCFG_KANEKO_PANDORA_GFXDECODE("gfxdecode")
+ KANEKO_PANDORA(config, m_pandora, 0);
+ m_pandora->set_gfxdecode_tag(m_gfxdecode);
/* sound hardware */
SPEAKER(config, "mono").front_center();