summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/snes_snd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/snes_snd.cpp')
-rw-r--r--src/mame/audio/snes_snd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/audio/snes_snd.cpp b/src/mame/audio/snes_snd.cpp
index cf29796f185..714b1ca8f15 100644
--- a/src/mame/audio/snes_snd.cpp
+++ b/src/mame/audio/snes_snd.cpp
@@ -153,11 +153,11 @@ static const int ENVCNT[0x20]
#define MEtoLE16( x ) little_endianize_int16(x)
-const device_type SNES = device_creator<snes_sound_device>;
+DEFINE_DEVICE_TYPE(SNES, snes_sound_device, "snes_sound", "SNES Custom DSP (SPC700)")
snes_sound_device::snes_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, SNES, "SNES Custom DSP (SPC700)", tag, owner, clock, "snes_sound", __FILE__),
- device_sound_interface(mconfig, *this)
+ : device_t(mconfig, SNES, tag, owner, clock)
+ , device_sound_interface(mconfig, *this)
{
}