summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/cgc7900.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/cgc7900.cpp')
-rw-r--r--src/mame/video/cgc7900.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/cgc7900.cpp b/src/mame/video/cgc7900.cpp
index 05a06916fd3..ef37b82ea70 100644
--- a/src/mame/video/cgc7900.cpp
+++ b/src/mame/video/cgc7900.cpp
@@ -215,7 +215,7 @@ static const gfx_layout cgc7900_charlayout =
GFXDECODE( cgc7900 )
-------------------------------------------------*/
-static GFXDECODE_START( cgc7900 )
+static GFXDECODE_START( gfx_cgc7900 )
GFXDECODE_ENTRY( "gfx1", 0x0000, cgc7900_charlayout, 0, 1 )
GFXDECODE_END
@@ -236,7 +236,7 @@ MACHINE_CONFIG_START(cgc7900_state::cgc7900_video)
MCFG_SCREEN_VISIBLE_AREA(0, 1024-1, 0, 768-1)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, cgc7900_state, irq<0xc>))
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", cgc7900)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_cgc7900)
MCFG_PALETTE_ADD("palette", 8)
MCFG_PALETTE_INIT_OWNER(cgc7900_state, cgc7900)