diff options
Diffstat (limited to 'src/mame/drivers/witch.c')
-rw-r--r-- | src/mame/drivers/witch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/witch.c b/src/mame/drivers/witch.c index f8647ff831c..fc5e0e5b498 100644 --- a/src/mame/drivers/witch.c +++ b/src/mame/drivers/witch.c @@ -396,7 +396,7 @@ WRITE8_MEMBER(witch_state::write_a00x) break; case 0x08: //A008 - device_set_input_line(&space.device(),0,CLEAR_LINE); + space.device().execute().set_input_line(0,CLEAR_LINE); break; } } @@ -781,12 +781,12 @@ static SCREEN_UPDATE_IND16(witch) static INTERRUPT_GEN( witch_main_interrupt ) { - device_set_input_line(device,0,ASSERT_LINE); + device->execute().set_input_line(0,ASSERT_LINE); } static INTERRUPT_GEN( witch_sub_interrupt ) { - device_set_input_line(device,0,ASSERT_LINE); + device->execute().set_input_line(0,ASSERT_LINE); } static MACHINE_CONFIG_START( witch, witch_state ) |