summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/c45.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/c45.cpp')
-rw-r--r--src/mame/video/c45.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/c45.cpp b/src/mame/video/c45.cpp
index 6df7edd2331..6860961b4b7 100644
--- a/src/mame/video/c45.cpp
+++ b/src/mame/video/c45.cpp
@@ -202,7 +202,7 @@ void namco_c45_road_device::draw(bitmap_ind16 &bitmap, const rectangle &cliprect
int pen = source_gfx[sourcex >> 16];
if (m_palette->pen_indirect(pen) != m_transparent_color)
{
- if (m_clut != NULL)
+ if (m_clut != nullptr)
pen = (pen & ~0xff) | m_clut[pen & 0xff];
dest[screenx] = pen;
}
@@ -215,7 +215,7 @@ void namco_c45_road_device::draw(bitmap_ind16 &bitmap, const rectangle &cliprect
while (numpixels-- > 0)
{
int pen = source_gfx[sourcex >> 16];
- if (m_clut != NULL)
+ if (m_clut != nullptr)
pen = (pen & ~0xff) | m_clut[pen & 0xff];
dest[screenx++] = pen;
sourcex += dsourcex;
@@ -246,7 +246,7 @@ void namco_c45_road_device::device_start()
const address_space_config *namco_c45_road_device::memory_space_config(address_spacenum spacenum) const
{
- return (spacenum == AS_0) ? &m_space_config : NULL;
+ return (spacenum == AS_0) ? &m_space_config : nullptr;
}