From 3beb4a9fa7cc25b45f739532beedf9bdc5d1e129 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Sat, 13 Feb 2021 22:36:42 +1100 Subject: [PATCH] specimx: missed another null reference --- src/mame/machine/special.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/mame/machine/special.cpp b/src/mame/machine/special.cpp index c6fd025320e..dd094edae31 100644 --- a/src/mame/machine/special.cpp +++ b/src/mame/machine/special.cpp @@ -206,19 +206,21 @@ void special_state::specimx_disk_ctrl_w(offs_t offset, uint8_t data) m_fdc->set_floppy(floppy); if (floppy) + { floppy->mon_w(0); - switch(offset) - { - case 0 : + switch(offset) + { + case 0 : m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); break; - case 2 : + case 2 : floppy->ss_w(data & 1); break; - case 3 : + case 3 : m_drive = data & 1; break; + } } }