summaryrefslogtreecommitdiffstats
path: root/src/mame/audio/vboy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/vboy.cpp')
-rw-r--r--src/mame/audio/vboy.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/audio/vboy.cpp b/src/mame/audio/vboy.cpp
index 707fdf8ce3c..38755b9208e 100644
--- a/src/mame/audio/vboy.cpp
+++ b/src/mame/audio/vboy.cpp
@@ -11,7 +11,7 @@
#include "vboy.h"
// device type definition
-const device_type VBOYSND = device_creator<vboysnd_device>;
+DEFINE_DEVICE_TYPE(VBOYSND, vboysnd_device, "vboysnd", "Virtual Boy Audio")
//#define LAME_COMPILER_BUG
@@ -196,8 +196,8 @@ static inline void mputb(uint8_t *ptr, int8_t data) { *ptr = data; }
//-------------------------------------------------
vboysnd_device::vboysnd_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, VBOYSND, "Virtual Boy audio", tag, owner, clock, "vboysnd", __FILE__),
- device_sound_interface(mconfig, *this)
+ : device_t(mconfig, VBOYSND, tag, owner, clock)
+ , device_sound_interface(mconfig, *this)
{
}