summaryrefslogtreecommitdiffstats
path: root/src/devices/sound/wave.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/wave.cpp')
-rw-r--r--src/devices/sound/wave.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/sound/wave.cpp b/src/devices/sound/wave.cpp
index 8515ec5237f..7383805d05e 100644
--- a/src/devices/sound/wave.cpp
+++ b/src/devices/sound/wave.cpp
@@ -31,13 +31,14 @@ void wave_device::static_set_cassette_tag(device_t &device, const char *cassette
wave.m_cassette_tag = cassette_tag;
}
-const device_type WAVE = device_creator<wave_device>;
+DEFINE_DEVICE_TYPE(WAVE, wave_device, "wave", "Wave")
wave_device::wave_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, WAVE, "Wave", tag, owner, clock, "wave", __FILE__),
- device_sound_interface(mconfig, *this), m_cass(nullptr)
+ : device_t(mconfig, WAVE, tag, owner, clock)
+ , device_sound_interface(mconfig, *this)
+ , m_cassette_tag(nullptr)
+ , m_cass(nullptr)
{
- m_cassette_tag = nullptr;
}
//-------------------------------------------------