diff options
author | Robbbert <Robbbert@users.noreply.github.com> | 2021-02-13 22:36:42 +1100 |
---|---|---|
committer | Robbbert <Robbbert@users.noreply.github.com> | 2021-02-13 22:36:42 +1100 |
commit | 3beb4a9fa7cc25b45f739532beedf9bdc5d1e129 (patch) | |
tree | b36c734a6e3e0adf6480cacf66c1e15266804adf | |
parent | e8a798aba3a6ca9c44a0fa667b73c446e7a38f3c (diff) |
specimx: missed another null reference
-rw-r--r-- | src/mame/machine/special.cpp | 12 |
1 files 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; + } } } |