summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/spyhuntertec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/spyhuntertec.cpp')
-rw-r--r--src/mame/drivers/spyhuntertec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/spyhuntertec.cpp b/src/mame/drivers/spyhuntertec.cpp
index 029ae54f680..1af79bc0779 100644
--- a/src/mame/drivers/spyhuntertec.cpp
+++ b/src/mame/drivers/spyhuntertec.cpp
@@ -691,7 +691,7 @@ MACHINE_CONFIG_START(spyhuntertec_state::spyhuntertec)
MCFG_SCREEN_UPDATE_DRIVER(spyhuntertec_state, screen_update_spyhuntertec)
MCFG_SCREEN_PALETTE("palette")
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_spyhuntertec)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_spyhuntertec);
MCFG_PALETTE_ADD("palette", 64+4)
// MCFG_PALETTE_INIT_OWNER(spyhuntertec_state,spyhunt)