From d90e110a816417c39c04324ba6445f1da54098ba Mon Sep 17 00:00:00 2001 From: arbee Date: Sun, 28 Jul 2019 21:52:40 -0400 Subject: fix typo in previous commit (nw) --- src/devices/bus/a2gameio/joyport.cpp | 4 ++-- 1 file 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) -- cgit v1.2.3