summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/lbeach.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/lbeach.cpp')
-rw-r--r--src/mame/drivers/lbeach.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/lbeach.cpp b/src/mame/drivers/lbeach.cpp
index f042c2afd14..769bf0ddf5d 100644
--- a/src/mame/drivers/lbeach.cpp
+++ b/src/mame/drivers/lbeach.cpp
@@ -310,7 +310,7 @@ static const gfx_layout tile_layout_16x16 =
16*16
};
-static GFXDECODE_START( lbeach )
+static GFXDECODE_START( gfx_lbeach )
GFXDECODE_ENTRY( "gfx1", 0, tile_layout_16x8, 0, 1 )
GFXDECODE_ENTRY( "gfx2", 0, tile_layout_16x16, 2, 4 )
GFXDECODE_ENTRY( "gfx3", 0, tile_layout_16x16, 10, 1 )
@@ -345,7 +345,7 @@ MACHINE_CONFIG_START(lbeach_state::lbeach)
MCFG_SCREEN_PALETTE("palette")
MCFG_SCREEN_VBLANK_CALLBACK(INPUTLINE("maincpu", INPUT_LINE_NMI))
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", lbeach)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_lbeach)
MCFG_PALETTE_ADD("palette", 2+8+2)
MCFG_PALETTE_INIT_OWNER(lbeach_state, lbeach)
/* sound hardware */