diff options
Diffstat (limited to 'src/devices/bus/snes/sa1.cpp')
-rw-r--r-- | src/devices/bus/snes/sa1.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/snes/sa1.cpp b/src/devices/bus/snes/sa1.cpp index aaf7024ce5f..2c872866ed7 100644 --- a/src/devices/bus/snes/sa1.cpp +++ b/src/devices/bus/snes/sa1.cpp @@ -1143,7 +1143,8 @@ void sns_sa1_device::sa1_map(address_map &map) } -MACHINE_CONFIG_START(sns_sa1_device::device_add_mconfig) - MCFG_DEVICE_ADD("sa1cpu", G65816, 10000000) - MCFG_DEVICE_PROGRAM_MAP(sa1_map) -MACHINE_CONFIG_END +void sns_sa1_device::device_add_mconfig(machine_config &config) +{ + G65816(config, m_sa1, 10000000); + m_sa1->set_addrmap(AS_PROGRAM, &sns_sa1_device::sa1_map); +} |