summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/starshp1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/starshp1.cpp')
-rw-r--r--src/mame/drivers/starshp1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/starshp1.cpp b/src/mame/drivers/starshp1.cpp
index ba760bd69e2..cf2521bcf32 100644
--- a/src/mame/drivers/starshp1.cpp
+++ b/src/mame/drivers/starshp1.cpp
@@ -281,7 +281,7 @@ static const gfx_layout shiplayout =
};
-static GFXDECODE_START( starshp1 )
+static GFXDECODE_START( gfx_starshp1 )
GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0, 1 )
GFXDECODE_ENTRY( "gfx2", 0, spritelayout, 2, 2 )
GFXDECODE_ENTRY( "gfx3", 0, shiplayout, 6, 2 )
@@ -315,7 +315,7 @@ MACHINE_CONFIG_START(starshp1_state::starshp1)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, starshp1_state, screen_vblank_starshp1))
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", starshp1)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_starshp1)
MCFG_PALETTE_ADD("palette", 19)
MCFG_PALETTE_INDIRECT_ENTRIES(8)
MCFG_PALETTE_INIT_OWNER(starshp1_state, starshp1)