summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/c352.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/c352.cpp')
-rw-r--r--src/devices/sound/c352.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/devices/sound/c352.cpp b/src/devices/sound/c352.cpp
index d8e6dc03c63..581cddd3968 100644
--- a/src/devices/sound/c352.cpp
+++ b/src/devices/sound/c352.cpp
@@ -19,11 +19,12 @@
#include "emu.h"
#include "c352.h"
-#define VERBOSE (0)
-#define LOG(x) do { if (VERBOSE) logerror x; } while (0)
+//#define VERBOSE 1
+#include "logmacro.h"
+
// device type definition
-const device_type C352 = device_creator<c352_device>;
+DEFINE_DEVICE_TYPE(C352, c352_device, "c352", "Namco C352")
//**************************************************************************
// LIVE DEVICE
@@ -34,9 +35,10 @@ const device_type C352 = device_creator<c352_device>;
//-------------------------------------------------
c352_device::c352_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, C352, "C352", tag, owner, clock, "c352", __FILE__),
- device_sound_interface(mconfig, *this),
- device_rom_interface(mconfig, *this, 24)
+ : device_t(mconfig, C352, tag, owner, clock)
+ , device_sound_interface(mconfig, *this)
+ , device_rom_interface(mconfig, *this, 24)
+ , m_stream(nullptr)
{
}