summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cvs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cvs.cpp')
-rw-r--r--src/mame/drivers/cvs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/cvs.cpp b/src/mame/drivers/cvs.cpp
index 42d98ec98a3..6e9c16f84ed 100644
--- a/src/mame/drivers/cvs.cpp
+++ b/src/mame/drivers/cvs.cpp
@@ -912,7 +912,7 @@ static const gfx_layout charlayout =
8*8 /* every char takes 8 consecutive bytes */
};
-static GFXDECODE_START( cvs )
+static GFXDECODE_START( gfx_cvs )
GFXDECODE_ENTRY( "gfx1", 0x0000, charlayout, 0, 256+4 )
GFXDECODE_ENTRY( nullptr, 0x0000, charlayout, 0, 256+4 )
GFXDECODE_END
@@ -990,7 +990,7 @@ MACHINE_CONFIG_START(cvs_state::cvs)
/* video hardware */
MCFG_VIDEO_START_OVERRIDE(cvs_state,cvs)
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", cvs)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_cvs)
MCFG_PALETTE_ADD("palette", (256+4)*8+8+1)
MCFG_PALETTE_INDIRECT_ENTRIES(16)