summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/kinst.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/kinst.c')
-rw-r--r--src/mame/drivers/kinst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/kinst.c b/src/mame/drivers/kinst.c
index 612adc0a81a..63cf9a5e18d 100644
--- a/src/mame/drivers/kinst.c
+++ b/src/mame/drivers/kinst.c
@@ -283,7 +283,7 @@ static TIMER_CALLBACK( irq0_stop )
static INTERRUPT_GEN( irq0_start )
{
- device_set_input_line(device, 0, ASSERT_LINE);
+ device->execute().set_input_line(0, ASSERT_LINE);
device->machine().scheduler().timer_set(attotime::from_usec(50), FUNC(irq0_stop));
}
@@ -363,7 +363,7 @@ READ32_MEMBER(kinst_state::kinst_control_r)
case 4: /* $a0 */
result = ioport(portnames[offset])->read();
if (space.device().safe_pc() == 0x802d428)
- device_spin_until_interrupt(&space.device());
+ space.device().execute().spin_until_interrupt();
break;
}