summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/snes/sfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/snes/sfx.cpp')
-rw-r--r--src/devices/bus/snes/sfx.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/devices/bus/snes/sfx.cpp b/src/devices/bus/snes/sfx.cpp
index 572a97e3a9a..3f6a9b1de79 100644
--- a/src/devices/bus/snes/sfx.cpp
+++ b/src/devices/bus/snes/sfx.cpp
@@ -85,17 +85,12 @@ WRITE_LINE_MEMBER(sns_rom_superfx_device::snes_extern_irq_w)
}
-static MACHINE_CONFIG_START( snes_sfx )
+MACHINE_CONFIG_MEMBER( sns_rom_superfx_device::device_add_mconfig )
MCFG_CPU_ADD("superfx", SUPERFX, 21480000) /* 21.48MHz */
MCFG_CPU_PROGRAM_MAP(sfx_map)
MCFG_SUPERFX_OUT_IRQ(WRITELINE(sns_rom_superfx_device, snes_extern_irq_w)) /* IRQ line from cart */
MACHINE_CONFIG_END
-machine_config_constructor sns_rom_superfx_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( snes_sfx );
-}
-
READ8_MEMBER( sns_rom_superfx_device::chip_read )
{
return m_superfx->mmio_read(offset);