summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/taito_f3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/taito_f3.cpp')
-rw-r--r--src/mame/drivers/taito_f3.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/taito_f3.cpp b/src/mame/drivers/taito_f3.cpp
index baa956ff2d5..d1008148dba 100644
--- a/src/mame/drivers/taito_f3.cpp
+++ b/src/mame/drivers/taito_f3.cpp
@@ -460,9 +460,9 @@ MACHINE_RESET_MEMBER(taito_f3_state,f3)
MACHINE_CONFIG_START(taito_f3_state::f3)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", M68EC020, XTAL(16'000'000))
- MCFG_CPU_PROGRAM_MAP(f3_map)
- MCFG_CPU_VBLANK_INT_DRIVER("screen", taito_f3_state, f3_interrupt2)
+ MCFG_DEVICE_ADD("maincpu", M68EC020, XTAL(16'000'000))
+ MCFG_DEVICE_PROGRAM_MAP(f3_map)
+ MCFG_DEVICE_VBLANK_INT_DRIVER("screen", taito_f3_state, f3_interrupt2)
MCFG_MACHINE_RESET_OVERRIDE(taito_f3_state,f3)
@@ -477,7 +477,7 @@ MACHINE_CONFIG_START(taito_f3_state::f3)
MCFG_SCREEN_SIZE(40*8+48*2, 32*8)
MCFG_SCREEN_VISIBLE_AREA(46, 40*8-1 + 46, 24, 24+232-1)
MCFG_SCREEN_UPDATE_DRIVER(taito_f3_state, screen_update_f3)
- MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(taito_f3_state, screen_vblank_f3))
+ MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, taito_f3_state, screen_vblank_f3))
MCFG_GFXDECODE_ADD("gfxdecode", "palette", taito_f3)
MCFG_PALETTE_ADD("palette", 0x2000)
@@ -560,9 +560,9 @@ GFXDECODE_END
MACHINE_CONFIG_START(taito_f3_state::bubsympb)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", M68EC020, XTAL(16'000'000))
- MCFG_CPU_PROGRAM_MAP(bubsympb_map)
- MCFG_CPU_VBLANK_INT_DRIVER("screen", taito_f3_state, f3_interrupt2)
+ MCFG_DEVICE_ADD("maincpu", M68EC020, XTAL(16'000'000))
+ MCFG_DEVICE_PROGRAM_MAP(bubsympb_map)
+ MCFG_DEVICE_VBLANK_INT_DRIVER("screen", taito_f3_state, f3_interrupt2)
MCFG_EEPROM_SERIAL_93C46_ADD("eeprom")
@@ -575,7 +575,7 @@ MACHINE_CONFIG_START(taito_f3_state::bubsympb)
MCFG_SCREEN_SIZE(40*8+48*2, 32*8)
MCFG_SCREEN_VISIBLE_AREA(46, 40*8-1 + 46, 31, 31+224-1)
MCFG_SCREEN_UPDATE_DRIVER(taito_f3_state, screen_update_f3)
- MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(taito_f3_state, screen_vblank_f3))
+ MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, taito_f3_state, screen_vblank_f3))
MCFG_GFXDECODE_ADD("gfxdecode", "palette", bubsympb)
MCFG_PALETTE_ADD("palette", 8192)