summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ngen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ngen.cpp')
-rw-r--r--src/mame/drivers/ngen.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/drivers/ngen.cpp b/src/mame/drivers/ngen.cpp
index c250242658d..85c65c2855d 100644
--- a/src/mame/drivers/ngen.cpp
+++ b/src/mame/drivers/ngen.cpp
@@ -617,10 +617,9 @@ WRITE_LINE_MEMBER(ngen_state::fdc_drq_w)
WRITE8_MEMBER(ngen_state::fdc_control_w)
{
m_fdc->set_floppy(m_fd0->get_device());
- m_fd0->get_device()->mon_w(~data & 0x04);
- m_fd0->get_device()->ss_w(data & 0x20);
- if(~data & 0x80)
- m_fdc->soft_reset();
+ m_fd0->get_device()->mon_w(!BIT(data, 2));
+ m_fd0->get_device()->ss_w(BIT(data, 5));
+ m_fdc->mr_w(BIT(data, 7));
}
// Hard disk control register