summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/warriorb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/warriorb.cpp')
-rw-r--r--src/mame/drivers/warriorb.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/warriorb.cpp b/src/mame/drivers/warriorb.cpp
index 28669f73686..daec2f97f0e 100644
--- a/src/mame/drivers/warriorb.cpp
+++ b/src/mame/drivers/warriorb.cpp
@@ -412,7 +412,7 @@ static const gfx_layout charlayout =
32*8 /* every sprite takes 32 consecutive bytes */
};
-static GFXDECODE_START( warriorb )
+static GFXDECODE_START( gfx_warriorb )
GFXDECODE_ENTRY( "gfx2", 0, tilelayout, 0, 256 ) /* sprites */
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 256 ) /* scr tiles (screen 1) */
GFXDECODE_ENTRY( "gfx3", 0, charlayout, 0, 256 ) /* scr tiles (screen 2) */
@@ -454,7 +454,7 @@ MACHINE_CONFIG_START(warriorb_state::darius2d)
MCFG_TC0220IOC_READ_7_CB(IOPORT("IN2"))
/* video hardware */
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", warriorb)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_warriorb)
MCFG_PALETTE_ADD("palette", 4096)
MCFG_PALETTE_ADD("palette2", 4096)
@@ -540,7 +540,7 @@ MACHINE_CONFIG_START(warriorb_state::warriorb)
MCFG_TC0510NIO_READ_7_CB(IOPORT("IN2"))
/* video hardware */
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", warriorb)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_warriorb)
MCFG_PALETTE_ADD("palette", 4096)
MCFG_PALETTE_ADD("palette2", 4096)