diff options
Diffstat (limited to 'src/mess/drivers/c64.c')
-rw-r--r-- | src/mess/drivers/c64.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mess/drivers/c64.c b/src/mess/drivers/c64.c index 14345119482..225624f60c4 100644 --- a/src/mess/drivers/c64.c +++ b/src/mess/drivers/c64.c @@ -608,7 +608,7 @@ READ8_MEMBER( c64_state::cia1_pa_r ) // keyboard UINT8 cia1_pb = m_cia1->pb_r(); UINT8 row[8] = { m_row0->read(), m_row1->read() & m_lock->read(), m_row2->read(), m_row3->read(), - m_row4->read(), m_row5->read(), m_row6->read(), m_row7->read() }; + m_row4->read(), m_row5->read(), m_row6->read(), m_row7->read() }; for (int i = 0; i < 8; i++) { @@ -649,7 +649,7 @@ READ8_MEMBER( c64_state::cia1_pb_r ) // joystick UINT8 joy_a = m_joy1->joy_r(); - + data &= (0xf0 | (joy_a & 0x0f)); data &= ~(!BIT(joy_a, 5) << 4); @@ -711,9 +711,9 @@ READ8_MEMBER( c64gs_state::cia1_pa_r ) PA2 JOY B2 PA3 JOY B3 PA4 BTNB - PA5 - PA6 - PA7 + PA5 + PA6 + PA7 */ @@ -749,7 +749,7 @@ READ8_MEMBER( c64gs_state::cia1_pb_r ) // joystick UINT8 joy_a = m_joy1->joy_r(); - + data &= (0xf0 | (joy_a & 0x0f)); data &= ~(!BIT(joy_a, 5) << 4); |