diff options
Diffstat (limited to 'src/mame/drivers/shootout.cpp')
-rw-r--r-- | src/mame/drivers/shootout.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/shootout.cpp b/src/mame/drivers/shootout.cpp index c38d8ff06b6..3830ab961fd 100644 --- a/src/mame/drivers/shootout.cpp +++ b/src/mame/drivers/shootout.cpp @@ -265,7 +265,7 @@ static const gfx_layout tile_layout = 8*8 /* every char takes 8 consecutive bytes */ }; -static GFXDECODE_START( shootout ) +static GFXDECODE_START( gfx_shootout ) GFXDECODE_ENTRY( "gfx1", 0, char_layout, 16*4+8*8, 16 ) /* characters */ GFXDECODE_ENTRY( "gfx2", 0, sprite_layout, 16*4, 8 ) /* sprites */ GFXDECODE_ENTRY( "gfx3", 0, tile_layout, 0, 16 ) /* tiles */ @@ -294,7 +294,7 @@ MACHINE_CONFIG_START(shootout_state::shootout) MCFG_SCREEN_UPDATE_DRIVER(shootout_state, screen_update_shootout) MCFG_SCREEN_PALETTE("palette") - MCFG_GFXDECODE_ADD("gfxdecode", "palette", shootout) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_shootout) MCFG_PALETTE_ADD("palette", 256) MCFG_PALETTE_INIT_OWNER(shootout_state, shootout) @@ -324,7 +324,7 @@ MACHINE_CONFIG_START(shootout_state::shootouj) MCFG_SCREEN_UPDATE_DRIVER(shootout_state, screen_update_shootouj) MCFG_SCREEN_PALETTE("palette") - MCFG_GFXDECODE_ADD("gfxdecode", "palette", shootout) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_shootout) MCFG_PALETTE_ADD("palette", 256) MCFG_PALETTE_INIT_OWNER(shootout_state, shootout) |