diff options
Diffstat (limited to 'src/mame/drivers/m14.cpp')
-rw-r--r-- | src/mame/drivers/m14.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/m14.cpp b/src/mame/drivers/m14.cpp index 4c2e53a329f..28f17866fd6 100644 --- a/src/mame/drivers/m14.cpp +++ b/src/mame/drivers/m14.cpp @@ -405,7 +405,7 @@ static const gfx_layout charlayout = 8*8 }; -static GFXDECODE_START( m14 ) +static GFXDECODE_START( gfx_m14 ) GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 0x10 ) GFXDECODE_END @@ -446,7 +446,7 @@ MACHINE_CONFIG_START(m14_state::m14) MCFG_SCREEN_UPDATE_DRIVER(m14_state, screen_update_m14) MCFG_SCREEN_PALETTE("palette") - MCFG_GFXDECODE_ADD("gfxdecode", "palette", m14) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_m14) MCFG_PALETTE_ADD("palette", 0x20) MCFG_PALETTE_INIT_OWNER(m14_state, m14) |