summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/egghunt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/egghunt.cpp')
-rw-r--r--src/mame/drivers/egghunt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/egghunt.cpp b/src/mame/drivers/egghunt.cpp
index 41f67502fcb..3351c67b363 100644
--- a/src/mame/drivers/egghunt.cpp
+++ b/src/mame/drivers/egghunt.cpp
@@ -449,7 +449,7 @@ MACHINE_CONFIG_START(egghunt_state::egghunt)
MCFG_SCREEN_UPDATE_DRIVER(egghunt_state, screen_update_egghunt)
MCFG_SCREEN_PALETTE(m_palette)
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_egghunt)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_egghunt);
PALETTE(config, m_palette).set_format(palette_device::xRGB_555, 0x400);