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.cpp12
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;
+ }
}
}