summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/popeye.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/popeye.c')
-rw-r--r--src/mame/drivers/popeye.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/popeye.c b/src/mame/drivers/popeye.c
index 0f3786bafb1..cc411857607 100644
--- a/src/mame/drivers/popeye.c
+++ b/src/mame/drivers/popeye.c
@@ -25,7 +25,7 @@ static INTERRUPT_GEN( popeye_interrupt )
{
/* NMIs are enabled by the I register?? How can that be? */
if (device->state().state_int(Z80_I) & 1) /* skyskipr: 0/1, popeye: 2/3 but also 0/1 */
- device_set_input_line(device, INPUT_LINE_NMI, PULSE_LINE);
+ device->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}