summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tankbatt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tankbatt.cpp')
-rw-r--r--src/mame/drivers/tankbatt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/tankbatt.cpp b/src/mame/drivers/tankbatt.cpp
index f850883de41..09bd44658fb 100644
--- a/src/mame/drivers/tankbatt.cpp
+++ b/src/mame/drivers/tankbatt.cpp
@@ -251,7 +251,7 @@ static const gfx_layout bulletlayout =
};
-static GFXDECODE_START( tankbatt )
+static GFXDECODE_START( gfx_tankbatt )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 256 )
GFXDECODE_ENTRY( "gfx1", 0, bulletlayout, 0, 256 )
GFXDECODE_END
@@ -300,7 +300,7 @@ MACHINE_CONFIG_START(tankbatt_state::tankbatt)
MCFG_SCREEN_UPDATE_DRIVER(tankbatt_state, screen_update)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", tankbatt)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_tankbatt)
MCFG_PALETTE_ADD("palette", 256*2)
MCFG_PALETTE_INDIRECT_ENTRIES(256)
MCFG_PALETTE_INIT_OWNER(tankbatt_state, tankbatt)