summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/bking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/bking.cpp')
-rw-r--r--src/mame/drivers/bking.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/bking.cpp b/src/mame/drivers/bking.cpp
index 0aa2fb462c7..4116cb337a8 100644
--- a/src/mame/drivers/bking.cpp
+++ b/src/mame/drivers/bking.cpp
@@ -310,7 +310,7 @@ static const gfx_layout balllayout =
16*8 /* every sprite takes 16 consecutive bytes */
};
-static GFXDECODE_START( bking )
+static GFXDECODE_START( gfx_bking )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 4 ) /* playfield */
GFXDECODE_ENTRY( "gfx2", 0, crowlayout, 4*8, 4 ) /* crow */
GFXDECODE_ENTRY( "gfx3", 0, balllayout, 4*8+4*4, 4 ) /* ball 1 */
@@ -417,7 +417,7 @@ MACHINE_CONFIG_START(bking_state::bking)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, bking_state, screen_vblank_bking))
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", bking)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_bking)
MCFG_PALETTE_ADD("palette", 4*8+4*4+4*2+4*2)
MCFG_PALETTE_INIT_OWNER(bking_state, bking)