summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/crospang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/crospang.cpp')
-rw-r--r--src/mame/drivers/crospang.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/crospang.cpp b/src/mame/drivers/crospang.cpp
index e83cb2a19fa..23cd77b9557 100644
--- a/src/mame/drivers/crospang.cpp
+++ b/src/mame/drivers/crospang.cpp
@@ -321,7 +321,7 @@ static const gfx_layout tlayout =
};
-static GFXDECODE_START( crospang )
+static GFXDECODE_START( gfx_crospang )
//GFXDECODE_ENTRY( "gfx1", 0, tcharlayout, 256, 16 ) /* Characters 8x8 */
//GFXDECODE_ENTRY( "gfx1", 0, tlayout, 512, 16 ) /* Tiles 16x16 */
GFXDECODE_ENTRY( "gfx2", 0, tlayout, 0, 64 ) /* Tiles 16x16 */
@@ -364,7 +364,7 @@ MACHINE_CONFIG_START(crospang_state::crospang)
MCFG_PALETTE_ADD("palette", 0x300)
MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", crospang)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_crospang)
MCFG_DEVICE_ADD("spritegen", DECO_SPRITE, 0)