summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tugboat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tugboat.cpp')
-rw-r--r--src/mame/drivers/tugboat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/tugboat.cpp b/src/mame/drivers/tugboat.cpp
index 79185b6209e..49d5d01a260 100644
--- a/src/mame/drivers/tugboat.cpp
+++ b/src/mame/drivers/tugboat.cpp
@@ -353,7 +353,7 @@ static const gfx_layout tilelayout =
8*8
};
-static GFXDECODE_START( tugboat )
+static GFXDECODE_START( gfx_tugboat )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0x80, 16 )
GFXDECODE_ENTRY( "gfx2", 0, tilelayout, 0x80, 16 )
GFXDECODE_ENTRY( "gfx3", 0, charlayout, 0x00, 16 )
@@ -380,7 +380,7 @@ MACHINE_CONFIG_START(tugboat_state::tugboat)
MCFG_SCREEN_PALETTE("palette")
MCFG_SCREEN_VBLANK_CALLBACK(INPUTLINE("maincpu", INPUT_LINE_NMI))
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", tugboat)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_tugboat)
MCFG_PALETTE_ADD("palette", 256)
MCFG_PALETTE_INIT_OWNER(tugboat_state, tugboat)