summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sprint8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sprint8.cpp')
-rw-r--r--src/mame/drivers/sprint8.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/sprint8.cpp b/src/mame/drivers/sprint8.cpp
index a6e79b03253..a1dd5e84d53 100644
--- a/src/mame/drivers/sprint8.cpp
+++ b/src/mame/drivers/sprint8.cpp
@@ -448,7 +448,7 @@ static const gfx_layout car_layout =
};
-static GFXDECODE_START( sprint8 )
+static GFXDECODE_START( gfx_sprint8 )
GFXDECODE_ENTRY( "gfx1", 0, tile_layout_1, 0, 18 )
GFXDECODE_ENTRY( "gfx1", 0, tile_layout_2, 0, 18 )
GFXDECODE_ENTRY( "gfx2", 0, car_layout, 0, 16 )
@@ -473,7 +473,7 @@ MACHINE_CONFIG_START(sprint8_state::sprint8)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, sprint8_state, screen_vblank))
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", sprint8)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_sprint8)
MCFG_PALETTE_ADD("palette", 36)
MCFG_PALETTE_INDIRECT_ENTRIES(18)
MCFG_PALETTE_INIT_OWNER(sprint8_state, sprint8)