summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gng.cpp')
-rw-r--r--src/mame/drivers/gng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/gng.cpp b/src/mame/drivers/gng.cpp
index 7103fbbdba0..98be221da28 100644
--- a/src/mame/drivers/gng.cpp
+++ b/src/mame/drivers/gng.cpp
@@ -408,7 +408,7 @@ MACHINE_CONFIG_START(gng_state::gng)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE("spriteram", buffered_spriteram8_device, vblank_copy_rising))
MCFG_SCREEN_PALETTE(m_palette)
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_gng)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_gng);
PALETTE(config, m_palette).set_format(palette_device::RGBx_444, 256);