summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dai.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dai.cpp')
-rw-r--r--src/mame/drivers/dai.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/dai.cpp b/src/mame/drivers/dai.cpp
index 70468505a09..e06e90ba308 100644
--- a/src/mame/drivers/dai.cpp
+++ b/src/mame/drivers/dai.cpp
@@ -214,7 +214,7 @@ MACHINE_CONFIG_START(dai_state::dai)
MCFG_SCREEN_UPDATE_DRIVER(dai_state, screen_update_dai)
MCFG_SCREEN_PALETTE(m_palette)
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, m_palette, gfx_dai)
+ GFXDECODE(config, "gfxdecode", m_palette, gfx_dai);
PALETTE(config, m_palette, FUNC(dai_state::dai_palette), ARRAY_LENGTH(s_palette));