summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gaiden.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gaiden.cpp')
-rw-r--r--src/mame/drivers/gaiden.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/gaiden.cpp b/src/mame/drivers/gaiden.cpp
index 33951f92464..29a077de85c 100644
--- a/src/mame/drivers/gaiden.cpp
+++ b/src/mame/drivers/gaiden.cpp
@@ -691,7 +691,7 @@ static const gfx_layout spritelayout =
16*8 /* offset to next sprite */
};
-static GFXDECODE_START( gaiden )
+static GFXDECODE_START( gfx_gaiden )
GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0x100, 16 ) /* tiles 8x8 */
GFXDECODE_ENTRY( "gfx2", 0, tile2layout, 0x000, 0x1000 ) /* tiles 16x16 */
GFXDECODE_ENTRY( "gfx3", 0, tile2layout, 0x000, 0x1000 ) /* tiles 16x16 (only colors 0x00-0x0f and 0x80-0x8f are used) */
@@ -720,7 +720,7 @@ static const gfx_layout mastninj_spritelayout =
32*8 /* offset to next tile */
};
-static GFXDECODE_START( mastninj )
+static GFXDECODE_START( gfx_mastninj )
GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0x000, 16 ) /* tiles 8x8 */
GFXDECODE_ENTRY( "gfx2", 0, mastninj_tile2layout, 0x300, 16 ) /* tiles 16x16 */
GFXDECODE_ENTRY( "gfx3", 0, mastninj_tile2layout, 0x200, 16 ) /* tiles 16x16 */
@@ -749,7 +749,7 @@ static const gfx_layout drgnbowl_spritelayout =
32*8
};
-static GFXDECODE_START( drgnbowl )
+static GFXDECODE_START( gfx_drgnbowl )
GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0, 16 ) /* tiles 8x8 */
GFXDECODE_ENTRY( "gfx2", 0x00000, drgnbowl_tile2layout, 0x300, 16 ) /* tiles 16x16 */
GFXDECODE_ENTRY( "gfx2", 0x20000, drgnbowl_tile2layout, 0x200, 16 ) /* tiles 16x16 */
@@ -778,7 +778,7 @@ MACHINE_CONFIG_START(gaiden_state::shadoww)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 4*8, 32*8-1)
MCFG_SCREEN_UPDATE_DRIVER(gaiden_state, screen_update_gaiden)
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", gaiden)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_gaiden)
MCFG_PALETTE_ADD("palette", 4096)
MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR)
@@ -854,7 +854,7 @@ MACHINE_CONFIG_START(gaiden_state::drgnbowl)
MCFG_SCREEN_UPDATE_DRIVER(gaiden_state, screen_update_drgnbowl)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", drgnbowl)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_drgnbowl)
MCFG_PALETTE_ADD("palette", 4096)
MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR)
@@ -1012,7 +1012,7 @@ MACHINE_CONFIG_START(gaiden_state::mastninj)
MCFG_SCREEN_UPDATE_DRIVER(gaiden_state, screen_update_drgnbowl)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", mastninj)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_mastninj)
MCFG_PALETTE_ADD("palette", 4096)
MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR)