summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/portrait.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/portrait.cpp')
-rw-r--r--src/mame/drivers/portrait.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/portrait.cpp b/src/mame/drivers/portrait.cpp
index b008d2cea9b..e5489f87faa 100644
--- a/src/mame/drivers/portrait.cpp
+++ b/src/mame/drivers/portrait.cpp
@@ -244,7 +244,7 @@ static const gfx_layout tile_layout =
8*16 /* character offset */
};
-static GFXDECODE_START( portrait )
+static GFXDECODE_START( gfx_portrait )
GFXDECODE_ENTRY( "gfx1", 0x00000, tile_layout, 0, 0x800/8 )
GFXDECODE_END
@@ -268,7 +268,7 @@ MACHINE_CONFIG_START(portrait_state::portrait)
MCFG_SCREEN_UPDATE_DRIVER(portrait_state, screen_update)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", portrait)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_portrait)
MCFG_PALETTE_ADD("palette", 0x800)
MCFG_PALETTE_INDIRECT_ENTRIES(0x40)
MCFG_PALETTE_INIT_OWNER(portrait_state, portrait)