summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gamecstl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gamecstl.cpp')
-rw-r--r--src/mame/drivers/gamecstl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/gamecstl.cpp b/src/mame/drivers/gamecstl.cpp
index 71cdd315ae1..f8212570fed 100644
--- a/src/mame/drivers/gamecstl.cpp
+++ b/src/mame/drivers/gamecstl.cpp
@@ -389,7 +389,7 @@ static const gfx_layout CGA_charlayout =
8*8 /* every char takes 8 bytes */
};
-static GFXDECODE_START( CGA )
+static GFXDECODE_START( gfx_cga )
/* Support up to four CGA fonts */
GFXDECODE_ENTRY( "gfx1", 0x0000, CGA_charlayout, 0, 256 ) /* Font 0 */
GFXDECODE_ENTRY( "gfx1", 0x0800, CGA_charlayout, 0, 256 ) /* Font 1 */
@@ -465,7 +465,7 @@ MACHINE_CONFIG_START(gamecstl_state::gamecstl)
MCFG_SCREEN_UPDATE_DRIVER(gamecstl_state, screen_update_gamecstl)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", CGA)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_cga)
MCFG_PALETTE_ADD("palette", 16)