summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2019-07-28 21:52:40 -0400
committer arbee <rb6502@users.noreply.github.com>2019-07-28 21:52:40 -0400
commitd90e110a816417c39c04324ba6445f1da54098ba (patch)
tree53f9f1f1ab36d8aaf00a07a6ff40273625d40f00
parent908be5577523a69bcd7e1a0fbe102c910b9aa832 (diff)
fix typo in previous commit (nw)
-rw-r--r--src/devices/bus/a2gameio/joyport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/a2gameio/joyport.cpp b/src/devices/bus/a2gameio/joyport.cpp
index 987724adb91..cfc8ef12463 100644
--- a/src/devices/bus/a2gameio/joyport.cpp
+++ b/src/devices/bus/a2gameio/joyport.cpp
@@ -85,14 +85,14 @@ READ_LINE_MEMBER(apple2_joyport_device::sw1_r)
{
u8 port_read = m_an1 ? m_player2->read() : m_player1->read();
- return m_an1 ? BIT(port_read, 0) : BIT(port_read, 3);
+ return m_an0 ? BIT(port_read, 0) : BIT(port_read, 3);
}
READ_LINE_MEMBER(apple2_joyport_device::sw2_r)
{
u8 port_read = m_an1 ? m_player2->read() : m_player1->read();
- return m_an1 ? BIT(port_read, 2) : BIT(port_read, 1);
+ return m_an0 ? BIT(port_read, 2) : BIT(port_read, 1);
}
WRITE_LINE_MEMBER(apple2_joyport_device::an0_w)