summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/raiden2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/raiden2.cpp')
-rw-r--r--src/mame/drivers/raiden2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/raiden2.cpp b/src/mame/drivers/raiden2.cpp
index a7445ed5910..c1d61acb00b 100644
--- a/src/mame/drivers/raiden2.cpp
+++ b/src/mame/drivers/raiden2.cpp
@@ -1421,7 +1421,7 @@ static const gfx_layout raiden2_spritelayout =
16*16*4
};
-static GFXDECODE_START( raiden2 )
+static GFXDECODE_START( gfx_raiden2 )
GFXDECODE_ENTRY( "gfx1", 0x00000, raiden2_charlayout, 0x700, 128 )
GFXDECODE_ENTRY( "gfx2", 0x00000, raiden2_tilelayout, 0x400, 128 )
GFXDECODE_ENTRY( "gfx3", 0x00000, raiden2_spritelayout, 0x000, 4096 ) // really 128, but using the top bits for priority
@@ -1448,7 +1448,7 @@ MACHINE_CONFIG_START(raiden2_state::raiden2)
MCFG_SCREEN_RAW_PARAMS(XTAL(32'000'000)/4,512,0,40*8,282,0,30*8) /* hand-tuned to match ~55.47 */
MCFG_SCREEN_UPDATE_DRIVER(raiden2_state, screen_update_raiden2)
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", raiden2)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_raiden2)
MCFG_PALETTE_ADD("palette", 2048)
//MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
@@ -1522,7 +1522,7 @@ MACHINE_CONFIG_START(raiden2_state::zeroteam)
MCFG_SCREEN_RAW_PARAMS(XTAL(32'000'000)/4,512,0,40*8,282,0,32*8) /* hand-tuned to match ~55.47 */
MCFG_SCREEN_UPDATE_DRIVER(raiden2_state, screen_update_raiden2)
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", raiden2)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_raiden2)
MCFG_PALETTE_ADD("palette", 2048)
//MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)