hp86: fixed a bug in key auto-repeat function (nw)

This commit is contained in:
fulivi 2020-04-27 18:50:20 +02:00
parent 6e6f4ba56c
commit f20518fdd2

View File

@ -487,10 +487,9 @@ READ8_MEMBER(hp80_base_state::keycod_r)
WRITE8_MEMBER(hp80_base_state::keycod_w)
{
if (m_has_int_keyb) {
if (m_kb_raw_readout) {
m_kb_keycode = data;
}
if (data == 1) {
} else if (data == 1) {
unsigned irq = get_kb_irq();
irq_w(irq , false);
m_kb_enable = true;