summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gundealr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gundealr.cpp')
-rw-r--r--src/mame/drivers/gundealr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/gundealr.cpp b/src/mame/drivers/gundealr.cpp
index 646170aa85c..250f5ee6cd0 100644
--- a/src/mame/drivers/gundealr.cpp
+++ b/src/mame/drivers/gundealr.cpp
@@ -405,7 +405,7 @@ static const gfx_layout layout16x16x4 =
16*16*4
};
-static GFXDECODE_START( gundealr )
+static GFXDECODE_START( gfx_gundealr )
GFXDECODE_ENTRY( "gfx1", 0, layout8x8x4, 0, 16 ) /* colors 0-255 */
GFXDECODE_ENTRY( "gfx2", 0, layout16x16x4, 256, 16 ) /* colors 256-511 */
GFXDECODE_END
@@ -455,7 +455,7 @@ MACHINE_CONFIG_START(gundealr_state::gundealr)
MCFG_SCREEN_UPDATE_DRIVER(gundealr_state, screen_update)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", gundealr)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_gundealr)
MCFG_PALETTE_ADD("palette", 512)
/* sound hardware */