summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cps2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cps2.cpp')
-rw-r--r--src/mame/drivers/cps2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/cps2.cpp b/src/mame/drivers/cps2.cpp
index 09f2683f708..0dc9143e303 100644
--- a/src/mame/drivers/cps2.cpp
+++ b/src/mame/drivers/cps2.cpp
@@ -1319,7 +1319,7 @@ MACHINE_CONFIG_START(cps2_state::cps2)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, cps2_state, screen_vblank_cps1))
MCFG_SCREEN_PALETTE("palette")
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_cps1)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_cps1);
MCFG_PALETTE_ADD("palette", 0xc00)
/* sound hardware */