summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mexico86.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mexico86.cpp')
-rw-r--r--src/mame/drivers/mexico86.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/mexico86.cpp b/src/mame/drivers/mexico86.cpp
index a763f0f84e4..b82d086738d 100644
--- a/src/mame/drivers/mexico86.cpp
+++ b/src/mame/drivers/mexico86.cpp
@@ -424,7 +424,7 @@ void mexico86_state::machine_start()
void mexico86_state::machine_reset()
{
/*TODO: check the PCB and see how the halt / reset lines are connected. */
- if (m_subcpu != NULL)
+ if (m_subcpu != nullptr)
m_subcpu->set_input_line(INPUT_LINE_RESET, (ioport("DSW1")->read() & 0x80) ? ASSERT_LINE : CLEAR_LINE);
m_port_a_in = 0;