summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/atarig42.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/atarig42.cpp')
-rw-r--r--src/mame/drivers/atarig42.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/atarig42.cpp b/src/mame/drivers/atarig42.cpp
index e068a84576e..5761fe7fe57 100644
--- a/src/mame/drivers/atarig42.cpp
+++ b/src/mame/drivers/atarig42.cpp
@@ -525,7 +525,7 @@ MACHINE_CONFIG_START(atarig42_state::atarig42)
WATCHDOG_TIMER(config, "watchdog");
/* video hardware */
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_atarig42)
+ GFXDECODE(config, m_gfxdecode, "palette", gfx_atarig42);
PALETTE(config, "palette").set_format(palette_device::IRGB_1555, 2048);
MCFG_TILEMAP_ADD_CUSTOM("playfield", "gfxdecode", 2, atarig42_state, get_playfield_tile_info, 8,8, atarig42_playfield_scan, 128,64)