summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/gb.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-09-18 14:45:06 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-09-18 14:45:06 +0000
commita1b116c06f4748d61e36c070356b4818b5979f3e (patch)
treea6b9e6e1e8578cc8f2d7bdd60c528f4a321d764e /src/mess/drivers/gb.c
parent3ac43e0187323c2b55dc00c79c31bdd2d50d9b20 (diff)
INTERRUPT_GEN -> INTERRUPT_GEN_MEMBER for MESS part (no whatsnew)
Diffstat (limited to 'src/mess/drivers/gb.c')
-rw-r--r--src/mess/drivers/gb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/gb.c b/src/mess/drivers/gb.c
index 3e0685c50c2..c40aa17ae19 100644
--- a/src/mess/drivers/gb.c
+++ b/src/mess/drivers/gb.c
@@ -562,7 +562,7 @@ static MACHINE_CONFIG_START( gb_common, gb_state )
MCFG_CPU_ADD("maincpu", LR35902, 4194304) /* 4.194304 MHz */
MCFG_CPU_PROGRAM_MAP(gb_map)
MCFG_LR35902_CONFIG(dmg_cpu_reset)
- MCFG_CPU_VBLANK_INT("screen", gb_scanline_interrupt) /* 1 dummy int each frame */
+ MCFG_CPU_VBLANK_INT_DRIVER("screen", gb_state, gb_scanline_interrupt) /* 1 dummy int each frame */
MCFG_QUANTUM_TIME(attotime::from_hz(60))
@@ -659,7 +659,7 @@ static MACHINE_CONFIG_START( megaduck, gb_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", LR35902, 4194304) /* 4.194304 MHz */
MCFG_CPU_PROGRAM_MAP( megaduck_map)
- MCFG_CPU_VBLANK_INT("screen", gb_scanline_interrupt) /* 1 int each scanline ! */
+ MCFG_CPU_VBLANK_INT_DRIVER("screen", gb_state, gb_scanline_interrupt) /* 1 int each scanline ! */
MCFG_LR35902_CONFIG(megaduck_cpu_reset)
MCFG_SCREEN_ADD("screen", LCD)