summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/boxer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/boxer.cpp')
-rw-r--r--src/mame/drivers/boxer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/boxer.cpp b/src/mame/drivers/boxer.cpp
index d0de30412f2..f03a24a3337 100644
--- a/src/mame/drivers/boxer.cpp
+++ b/src/mame/drivers/boxer.cpp
@@ -455,7 +455,7 @@ static const gfx_layout sprite_layout =
};
-static GFXDECODE_START( boxer )
+static GFXDECODE_START( gfx_boxer )
GFXDECODE_ENTRY( "gfx1", 0, sprite_layout, 0, 1 )
GFXDECODE_ENTRY( "gfx2", 0, sprite_layout, 0, 1 )
GFXDECODE_ENTRY( "gfx3", 0, tile_layout, 2, 1 )
@@ -502,7 +502,7 @@ MACHINE_CONFIG_START(boxer_state::boxer)
MCFG_SCREEN_UPDATE_DRIVER(boxer_state, screen_update)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", boxer)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_boxer)
MCFG_PALETTE_ADD("palette", 4)
MCFG_PALETTE_INIT_OWNER(boxer_state, boxer)