summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/monzagp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/monzagp.cpp')
-rw-r--r--src/mame/drivers/monzagp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/monzagp.cpp b/src/mame/drivers/monzagp.cpp
index c2a4f9469a5..295e72991cc 100644
--- a/src/mame/drivers/monzagp.cpp
+++ b/src/mame/drivers/monzagp.cpp
@@ -487,7 +487,7 @@ static const gfx_layout sprite_layout =
};
-static GFXDECODE_START( monzagp )
+static GFXDECODE_START( gfx_monzagp )
GFXDECODE_ENTRY( "gfx1", 0x0000, char_layout, 0, 8 )
GFXDECODE_ENTRY( "gfx2", 0x0000, sprite_layout, 0, 8 )
GFXDECODE_ENTRY( "gfx3", 0x0000, tile_layout, 0, 8 )
@@ -516,7 +516,7 @@ MACHINE_CONFIG_START(monzagp_state::monzagp)
MCFG_PALETTE_ADD("palette", 0x200)
MCFG_PALETTE_INIT_OWNER(monzagp_state, monzagp)
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", monzagp)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_monzagp)
MCFG_TIMER_DRIVER_ADD_PERIODIC("time_tick_timer", monzagp_state, time_tick_timer, attotime::from_hz(4))