summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/destroyr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/destroyr.cpp')
-rw-r--r--src/mame/drivers/destroyr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/destroyr.cpp b/src/mame/drivers/destroyr.cpp
index 24a1f698fb9..7d2f3ea1e21 100644
--- a/src/mame/drivers/destroyr.cpp
+++ b/src/mame/drivers/destroyr.cpp
@@ -429,7 +429,7 @@ static const gfx_layout destroyr_waves_layout =
};
-static GFXDECODE_START( destroyr )
+static GFXDECODE_START( gfx_destroyr )
GFXDECODE_ENTRY( "gfx1", 0, destroyr_alpha_num_layout, 4, 1 )
GFXDECODE_ENTRY( "gfx2", 0, destroyr_minor_object_layout, 4, 1 )
GFXDECODE_ENTRY( "gfx3", 0, destroyr_major_object_layout, 0, 1 )
@@ -491,7 +491,7 @@ MACHINE_CONFIG_START(destroyr_state::destroyr)
MCFG_SCREEN_UPDATE_DRIVER(destroyr_state, screen_update)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", destroyr)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_destroyr)
MCFG_PALETTE_ADD("palette", 8)
MCFG_PALETTE_INIT_OWNER(destroyr_state, destroyr)