Use MCFG_SCREEN_VBLANK_CALLBACK instead of irq0_line_pulse for Sega i8751 interrupt (nw)

This commit is contained in:
AJR 2017-10-28 14:55:24 -04:00
parent cd0678ca04
commit a653014f23
2 changed files with 6 additions and 2 deletions

View File

@ -945,7 +945,9 @@ static MACHINE_CONFIG_DERIVED( sharrier, sharrier_base )
MCFG_CPU_ADD("mcu", I8751, 8000000)
MCFG_CPU_IO_MAP(mcu_io_map)
MCFG_DEVICE_VBLANK_INT_DRIVER("screen", segahang_state, irq0_line_pulse)
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_VBLANK_CALLBACK(INPUTLINE("mcu", INPUT_LINE_IRQ0))
MACHINE_CONFIG_END

View File

@ -3678,7 +3678,9 @@ static MACHINE_CONFIG_DERIVED( system16b_i8751, system16b )
MCFG_CPU_ADD("mcu", I8751, MASTER_CLOCK_8MHz)
MCFG_CPU_IO_MAP(mcu_io_map)
MCFG_DEVICE_VBLANK_INT_DRIVER("screen", segas16b_state, irq0_line_pulse)
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_VBLANK_CALLBACK(INPUTLINE("mcu", INPUT_LINE_IRQ0))
MACHINE_CONFIG_END
// same as the above, but with custom Sega ICs