mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
Use MCFG_SCREEN_VBLANK_CALLBACK instead of irq0_line_pulse for Sega i8751 interrupt (nw)
This commit is contained in:
parent
cd0678ca04
commit
a653014f23
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user