summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/plan80.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/plan80.cpp')
-rw-r--r--src/mame/drivers/plan80.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/plan80.cpp b/src/mame/drivers/plan80.cpp
index c0073a2ada3..ff23f38f95d 100644
--- a/src/mame/drivers/plan80.cpp
+++ b/src/mame/drivers/plan80.cpp
@@ -224,7 +224,7 @@ static const gfx_layout plan80_charlayout =
8*8 /* every char takes 8 bytes */
};
-static GFXDECODE_START( plan80 )
+static GFXDECODE_START( gfx_plan80 )
GFXDECODE_ENTRY( "chargen", 0x0000, plan80_charlayout, 0, 1 )
GFXDECODE_END
@@ -244,7 +244,7 @@ MACHINE_CONFIG_START(plan80_state::plan80)
MCFG_SCREEN_VISIBLE_AREA(0, 48*6-1, 0, 32*8-1)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", plan80)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_plan80)
MCFG_PALETTE_ADD_MONOCHROME("palette")
MACHINE_CONFIG_END