summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/pk8020.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/pk8020.c')
-rw-r--r--src/mess/machine/pk8020.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/pk8020.c b/src/mess/machine/pk8020.c
index 729ca9dedc7..9895cde56e6 100644
--- a/src/mess/machine/pk8020.c
+++ b/src/mess/machine/pk8020.c
@@ -998,7 +998,7 @@ MACHINE_RESET( pk8020 )
{
pk8020_state *state = machine.driver_data<pk8020_state>();
pk8020_set_bank(machine,0);
- device_set_irq_callback(machine.device("maincpu"), pk8020_irq_callback);
+ machine.device("maincpu")->execute().set_irq_acknowledge_callback(pk8020_irq_callback);
state->m_sound_gate = 0;
state->m_sound_level = 0;