summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sprint4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sprint4.cpp')
-rw-r--r--src/mame/drivers/sprint4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/sprint4.cpp b/src/mame/drivers/sprint4.cpp
index b26a73bf4f1..6d1fb1d6fca 100644
--- a/src/mame/drivers/sprint4.cpp
+++ b/src/mame/drivers/sprint4.cpp
@@ -373,7 +373,7 @@ static const gfx_layout car_layout =
};
-static GFXDECODE_START( sprint4 )
+static GFXDECODE_START( gfx_sprint4 )
GFXDECODE_ENTRY( "gfx1", 0, gfx_8x8x1, 0, 5 )
GFXDECODE_ENTRY( "gfx2", 0, car_layout, 0, 5 )
GFXDECODE_END
@@ -395,7 +395,7 @@ MACHINE_CONFIG_START(sprint4_state::sprint4)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, sprint4_state, screen_vblank))
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", sprint4)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_sprint4)
MCFG_PALETTE_ADD("palette", 10)
MCFG_PALETTE_INDIRECT_ENTRIES(6)
MCFG_PALETTE_INIT_OWNER(sprint4_state, sprint4)