summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/triplhnt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/triplhnt.cpp')
-rw-r--r--src/mame/drivers/triplhnt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/triplhnt.cpp b/src/mame/drivers/triplhnt.cpp
index b6da3a518ef..77e69d755ed 100644
--- a/src/mame/drivers/triplhnt.cpp
+++ b/src/mame/drivers/triplhnt.cpp
@@ -270,7 +270,7 @@ static const gfx_layout triplhnt_tile_layout =
};
-static GFXDECODE_START( triplhnt )
+static GFXDECODE_START( gfx_triplhnt )
GFXDECODE_ENTRY( "gfx1", 0, triplhnt_small_sprite_layout, 0, 1 )
GFXDECODE_ENTRY( "gfx1", 0, triplhnt_large_sprite_layout, 0, 1 )
GFXDECODE_ENTRY( "gfx2", 0, triplhnt_tile_layout, 4, 2 )
@@ -321,7 +321,7 @@ MACHINE_CONFIG_START(triplhnt_state::triplhnt)
MCFG_SCREEN_UPDATE_DRIVER(triplhnt_state, screen_update)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", triplhnt)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_triplhnt)
MCFG_PALETTE_ADD("palette", 8)
MCFG_PALETTE_INIT_OWNER(triplhnt_state, triplhnt)