summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/pc1401.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/pc1401.cpp')
-rw-r--r--src/mame/machine/pc1401.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/pc1401.cpp b/src/mame/machine/pc1401.cpp
index e29bc1e1ce3..e9f595cacd5 100644
--- a/src/mame/machine/pc1401.cpp
+++ b/src/mame/machine/pc1401.cpp
@@ -36,7 +36,7 @@ READ8_MEMBER(pc1401_state::in_a_r)
int data = m_outa;
for (int bit = 0; bit < 5; bit++)
- if (BIT(m_outb, 0))
+ if (BIT(m_outb, bit))
data |= m_keys[bit]->read();
if (m_outb & 0x20)