diff options
Diffstat (limited to 'src/mame/drivers/retofinv.cpp')
-rw-r--r-- | src/mame/drivers/retofinv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/retofinv.cpp b/src/mame/drivers/retofinv.cpp index a4376a6f082..b6eebccd332 100644 --- a/src/mame/drivers/retofinv.cpp +++ b/src/mame/drivers/retofinv.cpp @@ -43,7 +43,7 @@ void retofinv_state::machine_start() save_item(NAME(m_sub_irq_mask)); save_item(NAME(m_cpu2_m6000)); - if (m_68705 != NULL) // only for the parent (with MCU) + if (m_68705 != nullptr) // only for the parent (with MCU) { save_item(NAME(m_from_main)); save_item(NAME(m_from_mcu)); @@ -74,7 +74,7 @@ WRITE8_MEMBER(retofinv_state::cpu2_reset_w) WRITE8_MEMBER(retofinv_state::mcu_reset_w) { /* the bootlegs don't have a MCU, so make sure it's there before trying to reset it */ - if (m_68705 != NULL) + if (m_68705 != nullptr) m_68705->set_input_line(INPUT_LINE_RESET, data ? CLEAR_LINE : ASSERT_LINE); } |