summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dcon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dcon.cpp')
-rw-r--r--src/mame/drivers/dcon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/dcon.cpp b/src/mame/drivers/dcon.cpp
index 25696fad99a..39745954c8b 100644
--- a/src/mame/drivers/dcon.cpp
+++ b/src/mame/drivers/dcon.cpp
@@ -255,7 +255,7 @@ static const gfx_layout dcon_tilelayout =
1024
};
-static GFXDECODE_START( dcon )
+static GFXDECODE_START( gfx_dcon )
GFXDECODE_ENTRY( "gfx1", 0, dcon_charlayout, 1024+768, 16 )
GFXDECODE_ENTRY( "gfx2", 0, dcon_tilelayout, 1024+0, 16 )
GFXDECODE_ENTRY( "gfx3", 0, dcon_tilelayout, 1024+512, 16 )
@@ -298,7 +298,7 @@ MACHINE_CONFIG_START(dcon_state::dcon)
MCFG_SEIBU_CRTC_LAYER_EN_CB(WRITE16(*this, dcon_state, layer_en_w))
MCFG_SEIBU_CRTC_LAYER_SCROLL_CB(WRITE16(*this, dcon_state, layer_scroll_w))
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", dcon)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_dcon)
MCFG_PALETTE_ADD("palette", 2048)
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
@@ -342,7 +342,7 @@ MACHINE_CONFIG_START(dcon_state::sdgndmps) /* PCB number is PB91008 */
MCFG_SEIBU_CRTC_LAYER_EN_CB(WRITE16(*this, dcon_state, layer_en_w))
MCFG_SEIBU_CRTC_LAYER_SCROLL_CB(WRITE16(*this, dcon_state, layer_scroll_w))
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", dcon)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_dcon)
MCFG_PALETTE_ADD("palette", 2048)
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)