summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/xybots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/xybots.cpp')
-rw-r--r--src/mame/drivers/xybots.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/xybots.cpp b/src/mame/drivers/xybots.cpp
index 8cc8f4a6060..9fdda2fbc70 100644
--- a/src/mame/drivers/xybots.cpp
+++ b/src/mame/drivers/xybots.cpp
@@ -160,7 +160,7 @@ static const gfx_layout pfmolayout =
};
-static GFXDECODE_START( xybots )
+static GFXDECODE_START( gfx_xybots )
GFXDECODE_ENTRY( "gfx1", 0, pfmolayout, 512, 16 ) /* playfield */
GFXDECODE_ENTRY( "gfx2", 0, pfmolayout, 256, 48 ) /* sprites */
GFXDECODE_ENTRY( "gfx3", 0, anlayout, 0, 64 ) /* characters 8x8 */
@@ -188,7 +188,7 @@ MACHINE_CONFIG_START(xybots_state::xybots)
MCFG_WATCHDOG_ADD("watchdog")
/* video hardware */
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", xybots)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_xybots)
MCFG_PALETTE_ADD("palette", 1024)
MCFG_PALETTE_FORMAT(IIIIRRRRGGGGBBBB)