summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sprint2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sprint2.cpp')
-rw-r--r--src/mame/drivers/sprint2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/sprint2.cpp b/src/mame/drivers/sprint2.cpp
index 3f0d733e6df..8f1208f4485 100644
--- a/src/mame/drivers/sprint2.cpp
+++ b/src/mame/drivers/sprint2.cpp
@@ -505,7 +505,7 @@ MACHINE_CONFIG_START(sprint2_state::sprint2)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, sprint2_state, screen_vblank_sprint2))
MCFG_SCREEN_PALETTE(m_palette)
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, m_palette, gfx_sprint2)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_sprint2);
PALETTE(config, m_palette, FUNC(sprint2_state::sprint2_palette), 12, 4);
/* sound hardware */