summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hotblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hotblock.c')
-rw-r--r--src/mame/drivers/hotblock.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/hotblock.c b/src/mame/drivers/hotblock.c
index 6a4d940336e..e9aaeb1e4e6 100644
--- a/src/mame/drivers/hotblock.c
+++ b/src/mame/drivers/hotblock.c
@@ -68,6 +68,7 @@ public:
DECLARE_WRITE8_MEMBER(hotblock_video_write);
virtual void video_start();
UINT32 screen_update_hotblock(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ INTERRUPT_GEN_MEMBER(hotblocks_irq);
};
@@ -195,9 +196,9 @@ static INPUT_PORTS_START( hotblock )
INPUT_PORTS_END
-static INTERRUPT_GEN( hotblocks_irq ) /* right? */
+INTERRUPT_GEN_MEMBER(hotblock_state::hotblocks_irq)/* right? */
{
- device->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
+ device.execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}
static const ay8910_interface ay8910_config =
@@ -217,7 +218,7 @@ static MACHINE_CONFIG_START( hotblock, hotblock_state )
MCFG_CPU_ADD("maincpu", I8088, 10000000)
MCFG_CPU_PROGRAM_MAP(hotblock_map)
MCFG_CPU_IO_MAP(hotblock_io)
- MCFG_CPU_VBLANK_INT("screen", hotblocks_irq)
+ MCFG_CPU_VBLANK_INT_DRIVER("screen", hotblock_state, hotblocks_irq)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)