summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mrdo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mrdo.cpp')
-rw-r--r--src/mame/drivers/mrdo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mrdo.cpp b/src/mame/drivers/mrdo.cpp
index 66ade9ae4aa..6da5d3ca08b 100644
--- a/src/mame/drivers/mrdo.cpp
+++ b/src/mame/drivers/mrdo.cpp
@@ -164,7 +164,7 @@ static const gfx_layout spritelayout =
64*8
};
-static GFXDECODE_START( mrdo )
+static GFXDECODE_START( gfx_mrdo )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 64 ) /* colors 0-255 directly mapped */
GFXDECODE_ENTRY( "gfx2", 0, charlayout, 0, 64 )
GFXDECODE_ENTRY( "gfx3", 0, spritelayout, 4*64, 16 )
@@ -184,7 +184,7 @@ MACHINE_CONFIG_START(mrdo_state::mrdo)
MCFG_SCREEN_UPDATE_DRIVER(mrdo_state, screen_update_mrdo)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", mrdo)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_mrdo)
MCFG_PALETTE_ADD("palette", 64*4+16*4)
MCFG_PALETTE_INDIRECT_ENTRIES(256)
MCFG_PALETTE_INIT_OWNER(mrdo_state, mrdo)