summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/2610intf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/2610intf.cpp')
-rw-r--r--src/devices/sound/2610intf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/2610intf.cpp b/src/devices/sound/2610intf.cpp
index 88f05e354cc..9111b03502c 100644
--- a/src/devices/sound/2610intf.cpp
+++ b/src/devices/sound/2610intf.cpp
@@ -161,7 +161,7 @@ void ym2610_device::device_start()
name.append(".deltat");
pcmbufb = (void *)(machine().root_device().memregion(name.c_str())->base());
pcmsizeb = machine().root_device().memregion(name.c_str())->bytes();
- if (pcmbufb == NULL || pcmsizeb == 0)
+ if (pcmbufb == nullptr || pcmsizeb == 0)
{
pcmbufb = pcmbufa;
pcmsizeb = pcmsizea;
@@ -171,7 +171,7 @@ void ym2610_device::device_start()
m_chip = ym2610_init(this,this,clock(),rate,
pcmbufa,pcmsizea,pcmbufb,pcmsizeb,
timer_handler,IRQHandler,&psgintf);
- assert_always(m_chip != NULL, "Error creating YM2610 chip");
+ assert_always(m_chip != nullptr, "Error creating YM2610 chip");
}
//-------------------------------------------------