summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/aztarac.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-01-31 12:21:12 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-01-31 12:21:12 +0000
commitf63dc9ba6597a6b0b4fc0ab906637a85f43a50cf (patch)
tree4f6244c9e82aa087609c8adc5e058e441f82607b /src/mame/drivers/aztarac.c
parent3e73b779d0f9e8a35ea4883595e655201c668ea3 (diff)
IRQ_CALLBACK modernization part 1 (no whatsnew)
Diffstat (limited to 'src/mame/drivers/aztarac.c')
-rw-r--r--src/mame/drivers/aztarac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/aztarac.c b/src/mame/drivers/aztarac.c
index 8685378abad..340af9bc7e9 100644
--- a/src/mame/drivers/aztarac.c
+++ b/src/mame/drivers/aztarac.c
@@ -29,7 +29,7 @@
*
*************************************/
-static IRQ_CALLBACK(aztarac_irq_callback)
+IRQ_CALLBACK_MEMBER(aztarac_state::aztarac_irq_callback)
{
return 0xc;
}
@@ -37,7 +37,7 @@ static IRQ_CALLBACK(aztarac_irq_callback)
void aztarac_state::machine_reset()
{
- machine().device("maincpu")->execute().set_irq_acknowledge_callback(aztarac_irq_callback);
+ machine().device("maincpu")->execute().set_irq_acknowledge_callback(device_irq_acknowledge_delegate(FUNC(aztarac_state::aztarac_irq_callback),this));
}