mirror of
https://github.com/holub/mame
synced 2025-06-19 10:46:35 +03:00
selz80: Fix keyboard (MT 7657)
This commit is contained in:
parent
7d4bb358c8
commit
69bf823978
@ -205,8 +205,8 @@ READ8_MEMBER( selz80_state::kbd_r )
|
|||||||
{
|
{
|
||||||
uint8_t data = 0xff;
|
uint8_t data = 0xff;
|
||||||
|
|
||||||
if (m_digit < 4)
|
if ((m_digit & 7) < 4)
|
||||||
data = m_keyboard[m_digit]->read();
|
data = m_keyboard[m_digit & 3]->read();
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user