summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/special.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/special.cpp')
-rw-r--r--src/mame/machine/special.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/machine/special.cpp b/src/mame/machine/special.cpp
index df5d90e3c9a..c6fd025320e 100644
--- a/src/mame/machine/special.cpp
+++ b/src/mame/machine/special.cpp
@@ -204,7 +204,9 @@ void special_state::specimx_disk_ctrl_w(offs_t offset, uint8_t data)
floppy = con->get_device();
m_fdc->set_floppy(floppy);
- floppy->mon_w(0);
+
+ if (floppy)
+ floppy->mon_w(0);
switch(offset)
{