summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mcr68.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mcr68.cpp')
-rw-r--r--src/mame/drivers/mcr68.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mcr68.cpp b/src/mame/drivers/mcr68.cpp
index 66887f18624..362d4cec05a 100644
--- a/src/mame/drivers/mcr68.cpp
+++ b/src/mame/drivers/mcr68.cpp
@@ -855,7 +855,7 @@ static const gfx_layout mcr68_sprite_layout =
32*32
};
-static GFXDECODE_START( mcr68 )
+static GFXDECODE_START( gfx_mcr68 )
GFXDECODE_SCALE( "gfx1", 0, mcr68_bg_layout, 0, 4, 2, 2 )
GFXDECODE_ENTRY( "gfx2", 0, mcr68_sprite_layout, 0, 4 )
GFXDECODE_END
@@ -920,7 +920,7 @@ MACHINE_CONFIG_START(mcr68_state::mcr68)
MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", mcr68_state, scanline_cb, "screen", 0, 1)
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", mcr68)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_mcr68)
MCFG_PALETTE_ADD("palette", 64)
MCFG_PALETTE_FORMAT(xxxxxxxRRRBBBGGG)