summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/madmotor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/madmotor.cpp')
-rw-r--r--src/mame/drivers/madmotor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/madmotor.cpp b/src/mame/drivers/madmotor.cpp
index c46dd579df0..5f53e2f9ff0 100644
--- a/src/mame/drivers/madmotor.cpp
+++ b/src/mame/drivers/madmotor.cpp
@@ -279,7 +279,7 @@ MACHINE_CONFIG_START(madmotor_state::madmotor)
MCFG_SCREEN_UPDATE_DRIVER(madmotor_state, screen_update)
MCFG_SCREEN_PALETTE("palette")
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_madmotor)
+ GFXDECODE(config, "gfxdecode", "palette", gfx_madmotor);
PALETTE(config, "palette").set_format(palette_device::xBGR_444, 1024);
DECO_BAC06(config, m_tilegen[0], 0);