summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/trvmadns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/trvmadns.cpp')
-rw-r--r--src/mame/drivers/trvmadns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/trvmadns.cpp b/src/mame/drivers/trvmadns.cpp
index 6be42577be8..779828acbb0 100644
--- a/src/mame/drivers/trvmadns.cpp
+++ b/src/mame/drivers/trvmadns.cpp
@@ -403,7 +403,7 @@ MACHINE_CONFIG_START(trvmadns_state::trvmadns)
MCFG_SCREEN_PALETTE("palette")
MCFG_SCREEN_VBLANK_CALLBACK(INPUTLINE("maincpu", INPUT_LINE_NMI))
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_trvmadns)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_trvmadns);
MCFG_PALETTE_ADD("palette", 16)