diff options
Diffstat (limited to 'src/mame/drivers/hitme.cpp')
-rw-r--r-- | src/mame/drivers/hitme.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/hitme.cpp b/src/mame/drivers/hitme.cpp index e80ee193270..a0aef7850e8 100644 --- a/src/mame/drivers/hitme.cpp +++ b/src/mame/drivers/hitme.cpp @@ -331,8 +331,7 @@ MACHINE_CONFIG_START(hitme_state::hitme) MCFG_SCREEN_UPDATE_DRIVER(hitme_state, screen_update_hitme) MCFG_SCREEN_PALETTE("palette") - MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_hitme) - + GFXDECODE(config, m_gfxdecode, "palette", gfx_hitme); PALETTE(config, "palette", palette_device::MONOCHROME); /* sound hardware */ @@ -358,7 +357,7 @@ MACHINE_CONFIG_START(hitme_state::barricad) MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 24*8-1) MCFG_SCREEN_UPDATE_DRIVER(hitme_state, screen_update_barricad) - MCFG_GFXDECODE_MODIFY("gfxdecode", gfx_barricad) + m_gfxdecode->set_info(gfx_barricad); MCFG_VIDEO_START_OVERRIDE(hitme_state,barricad) MACHINE_CONFIG_END |