summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mcr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mcr.cpp')
-rw-r--r--src/mame/drivers/mcr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mcr.cpp b/src/mame/drivers/mcr.cpp
index e53aa955ddd..bbc42c002e1 100644
--- a/src/mame/drivers/mcr.cpp
+++ b/src/mame/drivers/mcr.cpp
@@ -1714,7 +1714,7 @@ INPUT_PORTS_END
*
*************************************/
-static GFXDECODE_START( mcr )
+static GFXDECODE_START( gfx_mcr )
GFXDECODE_SCALE( "gfx1", 0, mcr_bg_layout, 0, 4, 2, 2 ) /* colors 0-15, 2x2 */
GFXDECODE_ENTRY( "gfx2", 0, mcr_sprite_layout, 0, 4 ) /* colors 16-31 */
GFXDECODE_END
@@ -1777,7 +1777,7 @@ MACHINE_CONFIG_START(mcr_state::mcr_90009)
MCFG_SCREEN_UPDATE_DRIVER(mcr_state, screen_update_mcr)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", mcr)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_mcr)
MCFG_PALETTE_ADD("palette", 32)
MCFG_PALETTE_FORMAT(xxxxRRRRBBBBGGGG)