summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tecmo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tecmo.cpp')
-rw-r--r--src/mame/drivers/tecmo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/tecmo.cpp b/src/mame/drivers/tecmo.cpp
index c14018005f1..ec9f27de6ea 100644
--- a/src/mame/drivers/tecmo.cpp
+++ b/src/mame/drivers/tecmo.cpp
@@ -690,7 +690,7 @@ static const gfx_layout spritelayout =
32*8
};
-static GFXDECODE_START( tecmo )
+static GFXDECODE_START( gfx_tecmo )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 256, 16 ) /* colors 256 - 511 */
GFXDECODE_ENTRY( "gfx2", 0, spritelayout, 0, 16 ) /* colors 0 - 255 */
GFXDECODE_ENTRY( "gfx3", 0, tilelayout, 512, 16 ) /* colors 512 - 767 */
@@ -732,7 +732,7 @@ MACHINE_CONFIG_START(tecmo_state::rygar)
MCFG_SCREEN_UPDATE_DRIVER(tecmo_state, screen_update)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", tecmo)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_tecmo)
MCFG_PALETTE_ADD("palette", 1024)
MCFG_PALETTE_FORMAT(xxxxBBBBRRRRGGGG)
MCFG_PALETTE_ENDIANNESS(ENDIANNESS_BIG)