summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/jubilee.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/jubilee.c
parente58642872abb95b7ac7f6444abb75a8c33bcb068 (diff)
INTERRUPT_GEN -> INTERRUPT_GEN_MEMBER (no whatsnew)
Diffstat (limited to 'src/mame/drivers/jubilee.c')
-rw-r--r--src/mame/drivers/jubilee.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/jubilee.c b/src/mame/drivers/jubilee.c
index bba2fd6cc89..04340ae7b22 100644
--- a/src/mame/drivers/jubilee.c
+++ b/src/mame/drivers/jubilee.c
@@ -105,6 +105,7 @@ public:
virtual void video_start();
virtual void palette_init();
UINT32 screen_update_jubileep(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ INTERRUPT_GEN_MEMBER(jubileep_interrupt);
};
@@ -152,10 +153,10 @@ void jubilee_state::palette_init()
* Read / Write Handlers *
**************************/
-static INTERRUPT_GEN( jubileep_interrupt )
+INTERRUPT_GEN_MEMBER(jubilee_state::jubileep_interrupt)
{
/* doesn't seems to work properly. need to set level1 interrupts */
- device->execute().set_input_line_and_vector(0, ASSERT_LINE, 3);//2=nmi 3,4,5,6
+ device.execute().set_input_line_and_vector(0, ASSERT_LINE, 3);//2=nmi 3,4,5,6
}
@@ -417,7 +418,7 @@ static MACHINE_CONFIG_START( jubileep, jubilee_state )
MCFG_CPU_ADD("maincpu", TMS9980L, MASTER_CLOCK/2) /* guess */
MCFG_CPU_PROGRAM_MAP(jubileep_map)
MCFG_CPU_IO_MAP(jubileep_cru_map)
- MCFG_CPU_VBLANK_INT("screen", jubileep_interrupt)
+ MCFG_CPU_VBLANK_INT_DRIVER("screen", jubilee_state, jubileep_interrupt)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)