summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/neptunp2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/neptunp2.cpp')
-rw-r--r--src/mame/drivers/neptunp2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/neptunp2.cpp b/src/mame/drivers/neptunp2.cpp
index 6baed13488f..1d21db02f06 100644
--- a/src/mame/drivers/neptunp2.cpp
+++ b/src/mame/drivers/neptunp2.cpp
@@ -116,7 +116,7 @@ MACHINE_CONFIG_START(neptunp2_state::neptunp2)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
MCFG_SCREEN_PALETTE("palette")
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_neptunp2)
+ GFXDECODE(config, "gfxdecode", "palette", gfx_neptunp2);
MCFG_PALETTE_ADD("palette", 512)
/* sound hardware */