summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gunpey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gunpey.c')
-rw-r--r--src/mame/drivers/gunpey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/gunpey.c b/src/mame/drivers/gunpey.c
index 4d73ab1c263..c04f510d10c 100644
--- a/src/mame/drivers/gunpey.c
+++ b/src/mame/drivers/gunpey.c
@@ -356,7 +356,7 @@ static PALETTE_INIT( gunpey )
static INTERRUPT_GEN( gunpey_interrupt )
{
- device_set_input_line_and_vector(device,0,HOLD_LINE,0x200/4);
+ device->execute().set_input_line_and_vector(0,HOLD_LINE,0x200/4);
}
/***************************************************************************************/