summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess
diff options
context:
space:
mode:
author Nigel Barnes <Pernod70@users.noreply.github.com>2015-09-08 00:50:58 +0100
committer Nigel Barnes <Pernod70@users.noreply.github.com>2015-09-08 00:50:58 +0100
commit11bbc84c31363ef3722322e182b646027f602d9f (patch)
tree38e57cdee6b97927c7bc919c0d5880c0c3f57da5 /src/mess
parent6b3ccca1cfe36bc5c6bec4e1ea83ee86f096c274 (diff)
bbc: fixed wd177x reset on master series (nw)
Diffstat (limited to 'src/mess')
-rw-r--r--src/mess/machine/bbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/bbc.c b/src/mess/machine/bbc.c
index 2027a0f76c0..88ced246f43 100644
--- a/src/mess/machine/bbc.c
+++ b/src/mess/machine/bbc.c
@@ -1563,7 +1563,7 @@ WRITE8_MEMBER(bbc_state::bbcm_wd1770l_write)
//logerror("Drive control %d \n", data);
// bit 2: reset
- if (!BIT(data, 5)) m_wd1770->reset();
+ if (!BIT(data, 2)) m_wd1770->reset();
// bit 0, 1, 3: drive select
if (BIT(data, 0)) floppy = m_wd1770->subdevice<floppy_connector>("0")->get_device();
@@ -1589,7 +1589,7 @@ WRITE8_MEMBER(bbc_state::bbcm_wd1772l_write)
//logerror("Drive control %d \n", data);
// bit 2: reset
- if (!BIT(data, 5)) m_wd1772->reset();
+ if (!BIT(data, 2)) m_wd1772->reset();
// bit 0, 1, 3: drive select
if (BIT(data, 0)) floppy = m_wd1772->subdevice<floppy_connector>("0")->get_device();