diff options
Diffstat (limited to 'src/mame/video/exidy440.cpp')
-rw-r--r-- | src/mame/video/exidy440.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/video/exidy440.cpp b/src/mame/video/exidy440.cpp index df28b2b340d..3aba8684ea7 100644 --- a/src/mame/video/exidy440.cpp +++ b/src/mame/video/exidy440.cpp @@ -463,13 +463,13 @@ uint32_t topsecex_state::screen_update_topsecex(screen_device &screen, bitmap_in MACHINE_CONFIG_START(exidy440_state::exidy440_video) MCFG_PALETTE_ADD("palette", 256) - MCFG_SCREEN_ADD("screen", RASTER) - MCFG_SCREEN_VIDEO_ATTRIBUTES(VIDEO_ALWAYS_UPDATE) - MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART) - MCFG_SCREEN_UPDATE_DRIVER(exidy440_state, screen_update_exidy440) - MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, exidy440_state, vblank_interrupt_w)) - MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("440audio", exidy440_sound_device, sound_interrupt_w)) + screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER)); + screen.set_video_attributes(VIDEO_ALWAYS_UPDATE); + screen.set_raw(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART); + screen.set_screen_update(FUNC(exidy440_state::screen_update_exidy440)); + screen.set_palette(m_palette); + screen.screen_vblank().set(FUNC(exidy440_state::vblank_interrupt_w)); + screen.screen_vblank().append(m_custom, FUNC(exidy440_sound_device::sound_interrupt_w)); MACHINE_CONFIG_END |