diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2019-02-11 18:18:45 +0100 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2019-02-11 18:18:45 +0100 |
commit | 502197b9c80b5f384dccc939fc93e1dbd6bf90c1 (patch) | |
tree | afb975bb2efbc8638c0b1717c1a6b08abd550f8a /src/devices/bus/megadrive | |
parent | b07f23632a3f3cbaf08337ad68f8598feadcefbd (diff) |
screen.h: adddedconstructor for monochrom screens and removed MCFG_SCREEN_ADD_MONOCHROME and MCFG_SCREEN_COLOR (nw)
misc MACHINE_CONFIG removal (nw)
started work on voltage_regulator_device macros removal (nw)
Diffstat (limited to 'src/devices/bus/megadrive')
-rw-r--r-- | src/devices/bus/megadrive/svp.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/devices/bus/megadrive/svp.cpp b/src/devices/bus/megadrive/svp.cpp index 2ed4e40ba1f..fe4ae33536e 100644 --- a/src/devices/bus/megadrive/svp.cpp +++ b/src/devices/bus/megadrive/svp.cpp @@ -347,11 +347,12 @@ void md_rom_svp_device::md_svp_ext_map(address_map &map) // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_START(md_rom_svp_device::device_add_mconfig) - MCFG_DEVICE_ADD("svp", SSP1601, MASTER_CLOCK_NTSC / 7 * 3) /* ~23 MHz (guessed) */ - MCFG_DEVICE_PROGRAM_MAP(md_svp_ssp_map) - MCFG_DEVICE_IO_MAP(md_svp_ext_map) -MACHINE_CONFIG_END +void md_rom_svp_device::device_add_mconfig(machine_config &config) +{ + SSP1601(config, m_svp, MASTER_CLOCK_NTSC / 7 * 3); /* ~23 MHz (guessed) */ + m_svp->set_addrmap(AS_PROGRAM, &md_rom_svp_device::md_svp_ssp_map); + m_svp->set_addrmap(AS_IO, &md_rom_svp_device::md_svp_ext_map); +} ioport_constructor md_rom_svp_device::device_input_ports() const { |