mirror of
https://github.com/holub/mame
synced 2025-04-25 01:40:16 +03:00
alphasma.cpp: Fix regression from a8b6c64ed0
This commit is contained in:
parent
2866e6b878
commit
98998a91ec
@ -103,7 +103,8 @@ private:
|
||||
|
||||
INPUT_CHANGED_MEMBER(alphasmart_state::kb_irq)
|
||||
{
|
||||
m_maincpu->set_input_line(MC68HC11_IRQ_LINE, HOLD_LINE);
|
||||
// IRQ on every key transition
|
||||
m_maincpu->set_input_line(MC68HC11_IRQ_LINE, ASSERT_LINE);
|
||||
}
|
||||
|
||||
uint8_t alphasmart_state::kb_r()
|
||||
@ -121,6 +122,7 @@ uint8_t alphasmart_state::kb_r()
|
||||
void alphasmart_state::kb_matrixl_w(uint8_t data)
|
||||
{
|
||||
m_matrix[0] = data;
|
||||
m_maincpu->set_input_line(MC68HC11_IRQ_LINE, CLEAR_LINE);
|
||||
}
|
||||
|
||||
void alphasmart_state::kb_matrixh_w(uint8_t data)
|
||||
|
Loading…
Reference in New Issue
Block a user