summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/backfire.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-09-18 14:10:42 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-09-18 14:10:42 +0000
commit3ac43e0187323c2b55dc00c79c31bdd2d50d9b20 (patch)
treef3d239297dce0fbae1086ee57ff792c151d0ac52 /src/mame/drivers/backfire.c
parente58642872abb95b7ac7f6444abb75a8c33bcb068 (diff)
INTERRUPT_GEN -> INTERRUPT_GEN_MEMBER (no whatsnew)
Diffstat (limited to 'src/mame/drivers/backfire.c')
-rw-r--r--src/mame/drivers/backfire.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/backfire.c b/src/mame/drivers/backfire.c
index 441cd3c9b94..75f7c5d9e58 100644
--- a/src/mame/drivers/backfire.c
+++ b/src/mame/drivers/backfire.c
@@ -81,6 +81,7 @@ public:
virtual void video_start();
UINT32 screen_update_backfire_left(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
UINT32 screen_update_backfire_right(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ INTERRUPT_GEN_MEMBER(deco32_vbl_interrupt);
};
//UINT32 *backfire_180010, *backfire_188010;
@@ -432,9 +433,9 @@ static const ymz280b_interface ymz280b_intf =
sound_irq_gen
};
-static INTERRUPT_GEN( deco32_vbl_interrupt )
+INTERRUPT_GEN_MEMBER(backfire_state::deco32_vbl_interrupt)
{
- device->execute().set_input_line(ARM_IRQ_LINE, HOLD_LINE);
+ device.execute().set_input_line(ARM_IRQ_LINE, HOLD_LINE);
}
@@ -500,7 +501,7 @@ static MACHINE_CONFIG_START( backfire, backfire_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", ARM, 28000000/4) /* Unconfirmed */
MCFG_CPU_PROGRAM_MAP(backfire_map)
- MCFG_CPU_VBLANK_INT("lscreen", deco32_vbl_interrupt) /* or is it "rscreen?" */
+ MCFG_CPU_VBLANK_INT_DRIVER("lscreen", backfire_state, deco32_vbl_interrupt) /* or is it "rscreen?" */
MCFG_EEPROM_93C46_ADD("eeprom")