summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mgolf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mgolf.cpp')
-rw-r--r--src/mame/drivers/mgolf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mgolf.cpp b/src/mame/drivers/mgolf.cpp
index 91b11af46e5..81de74c27cd 100644
--- a/src/mame/drivers/mgolf.cpp
+++ b/src/mame/drivers/mgolf.cpp
@@ -343,7 +343,7 @@ static const gfx_layout sprite_layout =
};
-static GFXDECODE_START( mgolf )
+static GFXDECODE_START( gfx_mgolf )
GFXDECODE_ENTRY( "gfx1", 0, tile_layout, 0, 2 )
GFXDECODE_ENTRY( "gfx2", 0, sprite_layout, 0, 2 )
GFXDECODE_END
@@ -383,7 +383,7 @@ MACHINE_CONFIG_START(mgolf_state::mgolf)
MCFG_SCREEN_UPDATE_DRIVER(mgolf_state, screen_update)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", mgolf)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_mgolf)
MCFG_PALETTE_ADD("palette", 4)
MCFG_PALETTE_INIT_OWNER(mgolf_state, mgolf)