summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/intv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/intv.c')
-rw-r--r--src/mess/drivers/intv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/drivers/intv.c b/src/mess/drivers/intv.c
index 49bf246385f..c5635e2aa7a 100644
--- a/src/mess/drivers/intv.c
+++ b/src/mess/drivers/intv.c
@@ -798,13 +798,13 @@ ADDRESS_MAP_END
TIMER_CALLBACK_MEMBER(intv_state::intv_interrupt2_complete)
{
- machine().device("keyboard")->execute().set_input_line(0, CLEAR_LINE);
+ m_keyboard->set_input_line(0, CLEAR_LINE);
}
INTERRUPT_GEN_MEMBER(intv_state::intv_interrupt2)
{
- machine().device("keyboard")->execute().set_input_line(0, ASSERT_LINE);
- machine().scheduler().timer_set(machine().device<cpu_device>("keyboard")->cycles_to_attotime(100), timer_expired_delegate(FUNC(intv_state::intv_interrupt2_complete),this));
+ m_keyboard->set_input_line(0, ASSERT_LINE);
+ machine().scheduler().timer_set(m_keyboard->cycles_to_attotime(100), timer_expired_delegate(FUNC(intv_state::intv_interrupt2_complete),this));
}
static MACHINE_CONFIG_START( intv, intv_state )