Merge pull request #6602 from fulivi/hp80_dev09

hp86: fixed a bug in key auto-repeat function
This commit is contained in:
R. Belmont 2020-04-27 15:09:43 -04:00 committed by GitHub
commit 0f64f5d7d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;