summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/battlex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/battlex.cpp')
-rw-r--r--src/mame/drivers/battlex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/battlex.cpp b/src/mame/drivers/battlex.cpp
index 5d8377e2d67..4896c37c772 100644
--- a/src/mame/drivers/battlex.cpp
+++ b/src/mame/drivers/battlex.cpp
@@ -309,7 +309,7 @@ MACHINE_CONFIG_START(battlex_state::battlex)
MCFG_SCREEN_UPDATE_DRIVER(battlex_state, screen_update_battlex)
MCFG_SCREEN_PALETTE("palette")
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_battlex)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_battlex);
MCFG_PALETTE_ADD("palette", 64 + 128)
/* sound hardware */