summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/p1_sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/p1_sound.cpp')
-rw-r--r--src/devices/bus/isa/p1_sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/isa/p1_sound.cpp b/src/devices/bus/isa/p1_sound.cpp
index d0c37039030..103d1b2f6c6 100644
--- a/src/devices/bus/isa/p1_sound.cpp
+++ b/src/devices/bus/isa/p1_sound.cpp
@@ -22,7 +22,7 @@
// DEVICE DEFINITIONS
//**************************************************************************
-const device_type P1_SOUND = device_creator<p1_sound_device>;
+DEFINE_DEVICE_TYPE(P1_SOUND, p1_sound_device, "p1_sound", "Poisk-1 sound card (B623)")
//-------------------------------------------------
@@ -93,7 +93,7 @@ machine_config_constructor p1_sound_device::device_mconfig_additions() const
//-------------------------------------------------
p1_sound_device::p1_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, P1_SOUND, "Poisk-1 sound card (B623)", tag, owner, clock, "p1_sound", __FILE__)
+ : device_t(mconfig, P1_SOUND, tag, owner, clock)
, device_isa8_card_interface(mconfig, *this)
, m_dac(*this, "dac")
, m_filter(*this, "filter")
@@ -207,5 +207,5 @@ void p1_sound_device::device_reset()
m_dac_ptr = 0;
// 5 kHz lowpass filter. XXX check schematics
- m_filter->filter_rc_set_RC(FLT_RC_LOWPASS, 330, 0, 0, CAP_N(100));
+ m_filter->filter_rc_set_RC(filter_rc_device::LOWPASS, 330, 0, 0, CAP_N(100));
}