summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mole.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mole.cpp')
-rw-r--r--src/mame/drivers/mole.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mole.cpp b/src/mame/drivers/mole.cpp
index 394302061a0..aec16782820 100644
--- a/src/mame/drivers/mole.cpp
+++ b/src/mame/drivers/mole.cpp
@@ -298,7 +298,7 @@ static const gfx_layout tile_layout =
};
-static GFXDECODE_START( mole )
+static GFXDECODE_START( gfx_mole )
GFXDECODE_ENTRY( "gfx1", 0x0000, tile_layout, 0x00, 1 )
GFXDECODE_ENTRY( "gfx1", 0x3000, tile_layout, 0x00, 1 )
GFXDECODE_END
@@ -336,7 +336,7 @@ MACHINE_CONFIG_START(mole_state::mole)
MCFG_SCREEN_UPDATE_DRIVER(mole_state, screen_update_mole)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", mole)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_mole)
MCFG_PALETTE_ADD_3BIT_RBG("palette")
/* sound hardware */