summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/canyon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/canyon.cpp')
-rw-r--r--src/mame/drivers/canyon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/canyon.cpp b/src/mame/drivers/canyon.cpp
index cbb137f3ec6..340b7c3e99d 100644
--- a/src/mame/drivers/canyon.cpp
+++ b/src/mame/drivers/canyon.cpp
@@ -262,7 +262,7 @@ MACHINE_CONFIG_START(canyon_state::canyon)
MCFG_SCREEN_PALETTE(m_palette)
MCFG_SCREEN_VBLANK_CALLBACK(INPUTLINE("maincpu", m6502_device::NMI_LINE))
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, m_palette, gfx_canyon)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_canyon);
PALETTE(config, m_palette, FUNC(canyon_state::canyon_palette), 4);
/* sound hardware */