diff options
Diffstat (limited to 'src/mame/machine/3dom2.cpp')
-rw-r--r-- | src/mame/machine/3dom2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/3dom2.cpp b/src/mame/machine/3dom2.cpp index b984da8b1ab..01dc23c1e1c 100644 --- a/src/mame/machine/3dom2.cpp +++ b/src/mame/machine/3dom2.cpp @@ -1514,9 +1514,9 @@ void m2_cde_device::device_start() { // Find our friend the BDA m_bda = downcast<m2_bda_device *>(machine().device("bda")); - assert(m_bda != NULL); + assert(m_bda != nullptr); - if (m_bda == NULL) + if (m_bda == nullptr) throw device_missing_dependencies(); // Resolve callbacks |