summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/wpcsnd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/wpcsnd.cpp')
-rw-r--r--src/mame/audio/wpcsnd.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/audio/wpcsnd.cpp b/src/mame/audio/wpcsnd.cpp
index 481ca882529..508d89cf027 100644
--- a/src/mame/audio/wpcsnd.cpp
+++ b/src/mame/audio/wpcsnd.cpp
@@ -14,18 +14,18 @@
#define LOG_WPCSND (0)
-const device_type WPCSND = device_creator<wpcsnd_device>;
+DEFINE_DEVICE_TYPE(WPCSND, wpcsnd_device, "wpcsnd", "Williams WPC Sound")
wpcsnd_device::wpcsnd_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig,WPCSND,"Williams WPC Sound",tag,owner,clock, "wpcsnd", __FILE__),
- device_mixer_interface(mconfig, *this),
- m_cpu(*this, "bgcpu"),
- m_ym2151(*this, "ym2151"),
- m_hc55516(*this, "hc55516"),
- m_cpubank(*this, "rombank"),
- m_fixedbank(*this, "fixed"),
- m_rom(*this, finder_base::DUMMY_TAG),
- m_reply_cb(*this)
+ : device_t(mconfig, WPCSND, tag, owner, clock)
+ , device_mixer_interface(mconfig, *this)
+ , m_cpu(*this, "bgcpu")
+ , m_ym2151(*this, "ym2151")
+ , m_hc55516(*this, "hc55516")
+ , m_cpubank(*this, "rombank")
+ , m_fixedbank(*this, "fixed")
+ , m_rom(*this, finder_base::DUMMY_TAG)
+ , m_reply_cb(*this)
{
}