summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/odyssey2/voice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/odyssey2/voice.cpp')
-rw-r--r--src/devices/bus/odyssey2/voice.cpp16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/devices/bus/odyssey2/voice.cpp b/src/devices/bus/odyssey2/voice.cpp
index 5723f986d4c..79e82a20fe5 100644
--- a/src/devices/bus/odyssey2/voice.cpp
+++ b/src/devices/bus/odyssey2/voice.cpp
@@ -38,11 +38,12 @@ void o2_voice_device::device_start()
save_item(NAME(m_lrq_state));
}
+
//-------------------------------------------------
-// MACHINE_CONFIG_START( sub_slot )
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-static MACHINE_CONFIG_START( o2voice )
+MACHINE_CONFIG_MEMBER( o2_voice_device::device_add_mconfig )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("sp0256_speech", SP0256, 3120000)
@@ -54,17 +55,6 @@ static MACHINE_CONFIG_START( o2voice )
MACHINE_CONFIG_END
-//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor o2_voice_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( o2voice );
-}
-
-
ROM_START( o2voice )
ROM_REGION( 0x10000, "sp0256_speech", 0 )
// SP0256B-019 Speech chip w/2KiB mask rom