summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mz2000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mz2000.cpp')
-rw-r--r--src/mame/drivers/mz2000.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mz2000.cpp b/src/mame/drivers/mz2000.cpp
index 688956ee405..b44ae2166a2 100644
--- a/src/mame/drivers/mz2000.cpp
+++ b/src/mame/drivers/mz2000.cpp
@@ -41,7 +41,7 @@ public:
mz2000_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_cass(*this, "cassette"),
- m_floppy(NULL),
+ m_floppy(nullptr),
m_maincpu(*this, "maincpu"),
m_mb8877a(*this, "mb8877a"),
m_floppy0(*this, "mb8877a:0"),
@@ -635,7 +635,7 @@ READ8_MEMBER(mz2000_state::mz2000_portb_r)
*/
UINT8 res = 0x80;
- if(m_cass->get_image() != NULL)
+ if(m_cass->get_image() != nullptr)
{
res |= (m_cass->input() > 0.0038) ? 0x40 : 0x00;
res |= ((m_cass->get_state() & CASSETTE_MASK_UISTATE) == CASSETTE_PLAY) ? 0x00 : 0x20;