summaryrefslogtreecommitdiffstats
path: root/src/mame/audio/t5182.cpp
diff options
context:
space:
mode:
authorGravatarGravatar andreasnaive <andreasnaive@gmail.com>2019-03-25 23:13:40 +0100
committerGravatarGravatar andreasnaive <andreasnaive@gmail.com>2019-03-25 23:13:40 +0100
commitb380514764cf857469bae61c11143a19f79a74c5 (patch) (github)
tree63c8012e262618f08a332da31dd714281aa2c5ed /src/mame/audio/t5182.cpp
parentc24473ddff715ecec2e258a6eb38960cf8c8e98e (diff)
downloadmame-b380514764cf857469bae61c11143a19f79a74c5.tar.bz2
mame-b380514764cf857469bae61c11143a19f79a74c5.zip
Revert "conflict resolution (nw)"
Diffstat (limited to 'src/mame/audio/t5182.cpp')
-rw-r--r--src/mame/audio/t5182.cpp12
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