summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sanremo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sanremo.cpp')
-rw-r--r--src/mame/drivers/sanremo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/sanremo.cpp b/src/mame/drivers/sanremo.cpp
index abe13589702..fdaf06e836a 100644
--- a/src/mame/drivers/sanremo.cpp
+++ b/src/mame/drivers/sanremo.cpp
@@ -344,7 +344,7 @@ static const gfx_layout tilelayout =
* Graphics Decode Information *
**************************************************/
-static GFXDECODE_START( sanremo )
+static GFXDECODE_START( gfx_sanremo )
GFXDECODE_ENTRY( "gfx", 0, tilelayout, 0, 1 )
GFXDECODE_END
@@ -380,7 +380,7 @@ MACHINE_CONFIG_START(sanremo_state::sanremo)
MCFG_MC6845_SHOW_BORDER_AREA(false)
MCFG_MC6845_CHAR_WIDTH(8)
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", sanremo)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_sanremo)
MCFG_PALETTE_ADD("palette", 0x10)
MCFG_PALETTE_INIT_OWNER(sanremo_state, sanremo)