mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
Merge pull request #6602 from fulivi/hp80_dev09
hp86: fixed a bug in key auto-repeat function
This commit is contained in:
commit
0f64f5d7d6
@ -487,10 +487,9 @@ READ8_MEMBER(hp80_base_state::keycod_r)
|
|||||||
|
|
||||||
WRITE8_MEMBER(hp80_base_state::keycod_w)
|
WRITE8_MEMBER(hp80_base_state::keycod_w)
|
||||||
{
|
{
|
||||||
if (m_has_int_keyb) {
|
if (m_kb_raw_readout) {
|
||||||
m_kb_keycode = data;
|
m_kb_keycode = data;
|
||||||
}
|
} else if (data == 1) {
|
||||||
if (data == 1) {
|
|
||||||
unsigned irq = get_kb_irq();
|
unsigned irq = get_kb_irq();
|
||||||
irq_w(irq , false);
|
irq_w(irq , false);
|
||||||
m_kb_enable = true;
|
m_kb_enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user