summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/backfire.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-02 09:53:25 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-02 09:53:25 +0000
commit1c813f4e2ad477f435ea43aefcea5343dc329250 (patch)
treeede5f82f0824fe3382b1c83e3fd62e9cf8328c48 /src/mame/drivers/backfire.c
parentc6533ad9194cad9a96a808f609815689cfe1a107 (diff)
device callback handler cleanup (nw)
Diffstat (limited to 'src/mame/drivers/backfire.c')
-rw-r--r--src/mame/drivers/backfire.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/drivers/backfire.c b/src/mame/drivers/backfire.c
index 466e093a817..89400b9afa2 100644
--- a/src/mame/drivers/backfire.c
+++ b/src/mame/drivers/backfire.c
@@ -104,6 +104,7 @@ public:
required_ioport m_io_in1;
required_ioport m_io_in2;
required_ioport m_io_in3;
+ DECLARE_WRITE_LINE_MEMBER(sound_irq_gen);
};
//UINT32 *backfire_180010, *backfire_188010;
@@ -436,14 +437,14 @@ static GFXDECODE_START( backfire )
GFXDECODE_END
-static void sound_irq_gen(device_t *device, int state)
+WRITE_LINE_MEMBER(backfire_state::sound_irq_gen)
{
logerror("sound irq\n");
}
static const ymz280b_interface ymz280b_intf =
{
- DEVCB_LINE(sound_irq_gen)
+ DEVCB_DRIVER_LINE_MEMBER(backfire_state,sound_irq_gen)
};
INTERRUPT_GEN_MEMBER(backfire_state::deco32_vbl_interrupt)