summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/dlair.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2015-12-04 11:05:13 +0100
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2015-12-04 11:05:13 +0100
commit41ec590ea670a5ac46be281382525026ad0759ab (patch) (github)
tree21acc05c7f8548be4bdf62bd272cb8f3c7f7e2c7 /src/mame/drivers/dlair.cpp
parent1b0ec08af5cd3b3268b5889ba4e30409431434e2 (diff)
downloadmame-41ec590ea670a5ac46be281382525026ad0759ab.tar.bz2
mame-41ec590ea670a5ac46be281382525026ad0759ab.zip
clang-modernize part 7
Diffstat (limited to 'src/mame/drivers/dlair.cpp')
-rw-r--r--src/mame/drivers/dlair.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/dlair.cpp b/src/mame/drivers/dlair.cpp
index 3ee1592d525..54d89029efb 100644
--- a/src/mame/drivers/dlair.cpp
+++ b/src/mame/drivers/dlair.cpp
@@ -74,22 +74,22 @@ public:
void laserdisc_data_w(UINT8 data)
{
- if (m_ldv1000 != NULL) m_ldv1000->data_w(data);
- if (m_pr7820 != NULL) m_pr7820->data_w(data);
- if (m_22vp932 != NULL) m_22vp932->data_w(data);
+ if (m_ldv1000 != nullptr) m_ldv1000->data_w(data);
+ if (m_pr7820 != nullptr) m_pr7820->data_w(data);
+ if (m_22vp932 != nullptr) m_22vp932->data_w(data);
}
void laserdisc_enter_w(UINT8 data)
{
- if (m_pr7820 != NULL) m_pr7820->enter_w(data);
- if (m_22vp932 != NULL) m_22vp932->enter_w(data);
+ if (m_pr7820 != nullptr) m_pr7820->enter_w(data);
+ if (m_22vp932 != nullptr) m_22vp932->enter_w(data);
}
UINT8 laserdisc_data_r()
{
- if (m_ldv1000 != NULL) return m_ldv1000->status_r();
- if (m_pr7820 != NULL) return m_pr7820->data_r();
- if (m_22vp932 != NULL) return m_22vp932->data_r();
+ if (m_ldv1000 != nullptr) return m_ldv1000->status_r();
+ if (m_pr7820 != nullptr) return m_pr7820->data_r();
+ if (m_22vp932 != nullptr) return m_22vp932->data_r();
return 0;
}
@@ -100,14 +100,14 @@ public:
UINT8 laserdisc_status_r()
{
- if (m_ldv1000 != NULL) return m_ldv1000->status_strobe_r();
+ if (m_ldv1000 != nullptr) return m_ldv1000->status_strobe_r();
return CLEAR_LINE;
}
UINT8 laserdisc_ready_r()
{
- if (m_ldv1000 != NULL) return m_ldv1000->command_strobe_r();
- if (m_pr7820 != NULL) return m_pr7820->ready_r();
+ if (m_ldv1000 != nullptr) return m_ldv1000->command_strobe_r();
+ if (m_pr7820 != nullptr) return m_pr7820->ready_r();
return CLEAR_LINE;
}
@@ -173,7 +173,7 @@ static const z80_daisy_config dleuro_daisy_chain[] =
{
{ "sio" },
{ "ctc" },
- { NULL }
+ { nullptr }
};