summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/3526intf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/3526intf.cpp')
-rw-r--r--src/devices/sound/3526intf.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/sound/3526intf.cpp b/src/devices/sound/3526intf.cpp
index 6639aa83e5e..81ae14881f5 100644
--- a/src/devices/sound/3526intf.cpp
+++ b/src/devices/sound/3526intf.cpp
@@ -105,7 +105,7 @@ void ym3526_device::device_start()
/* stream system initialize */
m_chip = ym3526_init(this,clock(),rate);
- assert_always(m_chip != NULL, "Error creating YM3526 chip");
+ assert_always(m_chip != nullptr, "Error creating YM3526 chip");
m_stream = machine().sound().stream_alloc(*this,0,1,rate);
/* YM3526 setup */
@@ -156,9 +156,9 @@ const device_type YM3526 = &device_creator<ym3526_device>;
ym3526_device::ym3526_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, YM3526, "YM3526", tag, owner, clock, "ym3526", __FILE__),
- device_sound_interface(mconfig, *this),
- m_stream(NULL),
- m_chip(NULL),
+ device_sound_interface(mconfig, *this),
+ m_stream(nullptr),
+ m_chip(nullptr),
m_irq_handler(*this)
{
}