diff options
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 |
commit | 3ac43e0187323c2b55dc00c79c31bdd2d50d9b20 (patch) | |
tree | f3d239297dce0fbae1086ee57ff792c151d0ac52 /src/mame/drivers/crbaloon.c | |
parent | e58642872abb95b7ac7f6444abb75a8c33bcb068 (diff) |
INTERRUPT_GEN -> INTERRUPT_GEN_MEMBER (no whatsnew)
Diffstat (limited to 'src/mame/drivers/crbaloon.c')
-rw-r--r-- | src/mame/drivers/crbaloon.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mame/drivers/crbaloon.c b/src/mame/drivers/crbaloon.c index a9d51f3416d..e3d22444064 100644 --- a/src/mame/drivers/crbaloon.c +++ b/src/mame/drivers/crbaloon.c @@ -355,12 +355,11 @@ void crbaloon_state::machine_reset() * *************************************/ -static INTERRUPT_GEN( vblank_irq ) +INTERRUPT_GEN_MEMBER(crbaloon_state::vblank_irq) { - crbaloon_state *state = device->machine().driver_data<crbaloon_state>(); - if(state->m_irq_mask) - device->execute().set_input_line(0, HOLD_LINE); + if(m_irq_mask) + device.execute().set_input_line(0, HOLD_LINE); } @@ -370,7 +369,7 @@ static MACHINE_CONFIG_START( crbaloon, crbaloon_state ) MCFG_CPU_ADD("maincpu", Z80, CRBALOON_MASTER_XTAL / 3) MCFG_CPU_PROGRAM_MAP(main_map) MCFG_CPU_IO_MAP(main_io_map) - MCFG_CPU_VBLANK_INT("screen", vblank_irq) + MCFG_CPU_VBLANK_INT_DRIVER("screen", crbaloon_state, vblank_irq) /* video hardware */ |