summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/c128.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/c128.c')
-rw-r--r--src/mess/drivers/c128.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/c128.c b/src/mess/drivers/c128.c
index ffc7d954564..4a63515e07e 100644
--- a/src/mess/drivers/c128.c
+++ b/src/mess/drivers/c128.c
@@ -1014,7 +1014,7 @@ READ8_MEMBER( c128_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++)
{
@@ -1055,7 +1055,7 @@ READ8_MEMBER( c128_state::cia1_pb_r )
// joystick
UINT8 joy_a = m_joy1->joy_r();
-
+
data &= (0xf0 | (joy_a & 0x0f));
data &= ~(!BIT(joy_a, 5) << 4);