summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/3812intf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/3812intf.cpp')
-rw-r--r--src/devices/sound/3812intf.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/sound/3812intf.cpp b/src/devices/sound/3812intf.cpp
index 73d0307d20a..192d5bba6c8 100644
--- a/src/devices/sound/3812intf.cpp
+++ b/src/devices/sound/3812intf.cpp
@@ -102,7 +102,7 @@ void ym3812_device::device_start()
/* stream system initialize */
m_chip = ym3812_init(this,clock(),rate);
- assert_always(m_chip != NULL, "Error creating YM3812 chip");
+ assert_always(m_chip != nullptr, "Error creating YM3812 chip");
m_stream = machine().sound().stream_alloc(*this,0,1,rate);
@@ -154,9 +154,9 @@ const device_type YM3812 = &device_creator<ym3812_device>;
ym3812_device::ym3812_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, YM3812, "YM3812", tag, owner, clock, "ym3812", __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)
{
}