diff options
Diffstat (limited to 'src/mame/apple/apple2gs.cpp')
| -rw-r--r-- | src/mame/apple/apple2gs.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/apple/apple2gs.cpp b/src/mame/apple/apple2gs.cpp index 07bb0a4ca86..0ab1d16e5f8 100644 --- a/src/mame/apple/apple2gs.cpp +++ b/src/mame/apple/apple2gs.cpp @@ -1696,8 +1696,8 @@ u8 apple2gs_state::c000_r(offs_t offset) case 0x46: // INTFLAG return (m_an3 ? INTFLAG_AN3 : 0x00) | m_intflag; - case 0x60: // button 3 on IIgs - return (m_gameio->sw3_r() ? 0x80 : 0x00) | uFloatingBus7; + case 0x60: // button 3 on IIgs, inverted + return (m_gameio->sw3_r() ? 0 : 0x80) | uFloatingBus7; case 0x61: // button 0 or Open Apple // HACK/TODO: the 65816 loses a race to the microcontroller on reset @@ -1707,8 +1707,8 @@ u8 apple2gs_state::c000_r(offs_t offset) case 0x62: // button 1 or Option return ((m_gameio->sw1_r() || (m_adb_p3_last & 0x10)) ? 0x80 : 0) | uFloatingBus7; - case 0x63: // button 2 or SHIFT key - return (m_gameio->sw2_r() ? 0x80 : 0x00) | uFloatingBus7; + case 0x63: // button 2, inverted (no shift key mod) + return (m_gameio->sw2_r() ? 0 : 0x80) | uFloatingBus7; case 0x64: // joy 1 X axis if (!m_gameio->is_device_connected()) return 0x80 | uFloatingBus7; |
