diff options
Diffstat (limited to 'src/devices/bus/isa/svga_tseng.cpp')
-rw-r--r-- | src/devices/bus/isa/svga_tseng.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/isa/svga_tseng.cpp b/src/devices/bus/isa/svga_tseng.cpp index dfe39a39d8e..fd232b01d8d 100644 --- a/src/devices/bus/isa/svga_tseng.cpp +++ b/src/devices/bus/isa/svga_tseng.cpp @@ -29,14 +29,14 @@ DEFINE_DEVICE_TYPE(ISA8_SVGA_ET4K, isa8_svga_et4k_device, "et4000", "SVGA Tseng // device_add_mconfig - add device configuration //------------------------------------------------- -void isa8_svga_et4k_device::device_add_mconfig(machine_config &config) -{ - screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER)); - screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480); - screen.set_screen_update("vga", FUNC(tseng_vga_device::screen_update)); - - TSENG_VGA(config, "vga", 0).set_screen("screen"); -} +MACHINE_CONFIG_START(isa8_svga_et4k_device::device_add_mconfig) + MCFG_SCREEN_ADD("screen", RASTER) + MCFG_SCREEN_RAW_PARAMS(XTAL(25'174'800),900,0,640,526,0,480) + MCFG_SCREEN_UPDATE_DEVICE("vga", tseng_vga_device, screen_update) + + MCFG_DEVICE_ADD("vga", TSENG_VGA, 0) + MCFG_VIDEO_SET_SCREEN("screen") +MACHINE_CONFIG_END //------------------------------------------------- // rom_region - device-specific ROM region |