diff options
Diffstat (limited to 'src/mame/drivers/spbactn.cpp')
-rw-r--r-- | src/mame/drivers/spbactn.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/spbactn.cpp b/src/mame/drivers/spbactn.cpp index 3ab5ccd06d7..97b2af00d96 100644 --- a/src/mame/drivers/spbactn.cpp +++ b/src/mame/drivers/spbactn.cpp @@ -364,7 +364,7 @@ static const gfx_layout spritelayout = 16*8 }; -static GFXDECODE_START( spbactn ) +static GFXDECODE_START( gfx_spbactn ) GFXDECODE_ENTRY( "gfx1", 0, fgtilelayout, 0x0200, 16 + 240 ) GFXDECODE_ENTRY( "gfx2", 0, bgtilelayout, 0x0300, 16 + 128 ) GFXDECODE_ENTRY( "gfx3", 0, spritelayout, 0x0000, 0x1000 ) @@ -396,7 +396,7 @@ static const gfx_layout proto_spr_layout = }; -static GFXDECODE_START( spbactnp ) +static GFXDECODE_START( gfx_spbactnp ) GFXDECODE_ENTRY( "gfx1", 0, proto_fgtilelayout, 0x0200, 16 + 240 ) GFXDECODE_ENTRY( "gfx2", 0, proto_fgtilelayout, 0x0300, 16 + 128 ) // wrong GFXDECODE_ENTRY( "gfx3", 0, proto_spr_layout, 0x0000, 16 + 384 ) @@ -431,7 +431,7 @@ MACHINE_CONFIG_START(spbactn_state::spbactn) MCFG_VIDEO_START_OVERRIDE(spbactn_state,spbactn) MCFG_SCREEN_UPDATE_DRIVER(spbactn_state, screen_update_spbactn) - MCFG_GFXDECODE_ADD("gfxdecode", "palette", spbactn) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_spbactn) MCFG_PALETTE_ADD("palette", 0x2800/2) MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR) @@ -485,7 +485,7 @@ MACHINE_CONFIG_START(spbactn_state::spbactnp) MCFG_VIDEO_START_OVERRIDE(spbactn_state,spbactnp) MCFG_SCREEN_UPDATE_DRIVER(spbactn_state, screen_update_spbactnp) - MCFG_GFXDECODE_ADD("gfxdecode", "palette", spbactnp) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_spbactnp) MCFG_PALETTE_ADD("palette", 0x2800/2) MCFG_PALETTE_FORMAT(xxxxBBBBRRRRGGGG) |