diff options
author | 2019-03-25 23:13:40 +0100 | |
---|---|---|
committer | 2019-03-25 23:13:40 +0100 | |
commit | b380514764cf857469bae61c11143a19f79a74c5 (patch) (github) | |
tree | 63c8012e262618f08a332da31dd714281aa2c5ed /src/mame/audio/t5182.cpp | |
parent | c24473ddff715ecec2e258a6eb38960cf8c8e98e (diff) | |
download | mame-b380514764cf857469bae61c11143a19f79a74c5.tar.bz2 mame-b380514764cf857469bae61c11143a19f79a74c5.zip |
Revert "conflict resolution (nw)"
This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing
changes made to 009cba4fb8102102168ef32870892438327f3705.
Diffstat (limited to 'src/mame/audio/t5182.cpp')
-rw-r--r-- | src/mame/audio/t5182.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/audio/t5182.cpp b/src/mame/audio/t5182.cpp index 2cc831bf63d..93726634dcb 100644 --- a/src/mame/audio/t5182.cpp +++ b/src/mame/audio/t5182.cpp @@ -371,9 +371,9 @@ void t5182_device::t5182_io(address_map &map) // device_add_mconfig - add device configuration //------------------------------------------------- -void t5182_device::device_add_mconfig(machine_config &config) -{ - Z80(config, m_ourcpu, T5182_CLOCK); - m_ourcpu->set_addrmap(AS_PROGRAM, &t5182_device::t5182_map); - m_ourcpu->set_addrmap(AS_IO, &t5182_device::t5182_io); -} +MACHINE_CONFIG_START(t5182_device::device_add_mconfig) + MCFG_DEVICE_ADD("t5182_z80", Z80, T5182_CLOCK) + MCFG_DEVICE_PROGRAM_MAP(t5182_map) + MCFG_DEVICE_IO_MAP(t5182_io) + +MACHINE_CONFIG_END |