summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/othunder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/othunder.cpp')
-rw-r--r--src/mame/drivers/othunder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/othunder.cpp b/src/mame/drivers/othunder.cpp
index e731126c24b..897b69412df 100644
--- a/src/mame/drivers/othunder.cpp
+++ b/src/mame/drivers/othunder.cpp
@@ -587,7 +587,7 @@ static const gfx_layout charlayout =
32*8
};
-static GFXDECODE_START( othunder )
+static GFXDECODE_START( gfx_othunder )
GFXDECODE_ENTRY( "gfx2", 0, tile16x8_layout, 0, 256 ) /* sprite parts */
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 256 ) /* sprites & playfield */
GFXDECODE_END
@@ -641,7 +641,7 @@ MACHINE_CONFIG_START(othunder_state::othunder)
MCFG_SCREEN_PALETTE("palette")
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, othunder_state, vblank_w))
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", othunder)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_othunder)
MCFG_PALETTE_ADD("palette", 4096)
MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0)