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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/cgc7900.cpp b/src/mame/video/cgc7900.cpp
index 41e56d568ca..0db24b9c12f 100644
--- a/src/mame/video/cgc7900.cpp
+++ b/src/mame/video/cgc7900.cpp
@@ -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_DEVICE_ADD("gfxdecode", GFXDECODE, m_palette, gfx_cgc7900)
+ GFXDECODE(config, "gfxdecode", m_palette, gfx_cgc7900);
PALETTE(config, m_palette, FUNC(cgc7900_state::cgc7900_palette), 8);
TIMER(config, "blink").configure_periodic(FUNC(cgc7900_state::blink_tick), attotime::from_hz(XTAL(28'480'000)/7500000));