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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/dai.cpp b/src/mame/drivers/dai.cpp
index 54819f000a1..0f1088a6b36 100644
--- a/src/mame/drivers/dai.cpp
+++ b/src/mame/drivers/dai.cpp
@@ -182,7 +182,7 @@ static const gfx_layout dai_charlayout =
8*16 /* every char takes 16 bytes */
};
-static GFXDECODE_START( dai )
+static GFXDECODE_START( gfx_dai )
GFXDECODE_ENTRY( "gfx1", 0x0000, dai_charlayout, 0, 8 )
GFXDECODE_END
@@ -214,7 +214,7 @@ MACHINE_CONFIG_START(dai_state::dai)
MCFG_SCREEN_UPDATE_DRIVER(dai_state, screen_update_dai)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", dai)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_dai)
MCFG_PALETTE_ADD("palette", sizeof (dai_palette) / 3)
MCFG_PALETTE_INIT_OWNER(dai_state, dai)