summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/tiaintf.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-12-04 07:02:45 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-12-04 07:02:45 +0100
commit0c56ac848dd0eba359500d444ecbb51f215ff5b9 (patch)
treead3444449470cec94ccaffd174c5a4d1bc90d1e1 /src/devices/sound/tiaintf.cpp
parent68f961927a156c47cb444c1f66258a89342d0205 (diff)
clang-modernize part 3
Diffstat (limited to 'src/devices/sound/tiaintf.cpp')
-rw-r--r--src/devices/sound/tiaintf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/sound/tiaintf.cpp b/src/devices/sound/tiaintf.cpp
index 7cbfe6683e4..a16fe0698dc 100644
--- a/src/devices/sound/tiaintf.cpp
+++ b/src/devices/sound/tiaintf.cpp
@@ -19,8 +19,8 @@ const device_type TIA = &device_creator<tia_device>;
tia_device::tia_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TIA, "TIA", tag, owner, clock, "tia_sound", __FILE__),
device_sound_interface(mconfig, *this),
- m_channel(NULL),
- m_chip(NULL)
+ m_channel(nullptr),
+ m_chip(nullptr)
{
}
@@ -33,7 +33,7 @@ void tia_device::device_start()
{
m_channel = stream_alloc(0, 1, clock());
m_chip = tia_sound_init(this, clock(), clock(), 16);
- assert_always(m_chip != NULL, "Error creating TIA chip");
+ assert_always(m_chip != nullptr, "Error creating TIA chip");
}