summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/fastfred.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/fastfred.cpp')
-rw-r--r--src/mame/drivers/fastfred.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/drivers/fastfred.cpp b/src/mame/drivers/fastfred.cpp
index 5a0cd8f3aed..097c52458fb 100644
--- a/src/mame/drivers/fastfred.cpp
+++ b/src/mame/drivers/fastfred.cpp
@@ -688,7 +688,7 @@ MACHINE_CONFIG_START(fastfred_state::jumpcoas)
MCFG_DEVICE_REMOVE("audiocpu")
/* video hardware */
- MCFG_GFXDECODE_MODIFY("gfxdecode", gfx_jumpcoas)
+ subdevice<gfxdecode_device>("gfxdecode")->set_info(gfx_jumpcoas);
/* sound hardware */
MCFG_DEVICE_REMOVE("soundlatch")
@@ -710,11 +710,10 @@ MACHINE_CONFIG_START(fastfred_state::imago)
/* video hardware */
m_palette->set_entries(256+64+2); // 256 for characters, 64 for the stars and 2 for the web
- MCFG_GFXDECODE_MODIFY("gfxdecode", gfx_imago)
+ subdevice<gfxdecode_device>("gfxdecode")->set_info(gfx_imago);
MCFG_VIDEO_START_OVERRIDE(fastfred_state,imago)
- MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_DRIVER(fastfred_state, screen_update_imago)
+ subdevice<screen_device>("screen")->set_screen_update(FUNC(fastfred_state::screen_update_imago));
MACHINE_CONFIG_END
#undef CLOCK