mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +03:00
Reapply of MT3476 fix submitted by Alex Jackson (no whatsnew)
This commit is contained in:
parent
a316225f72
commit
63384bb6bc
@ -873,6 +873,10 @@ static WRITE8_HANDLER( mcu_control_w )
|
||||
segas1x_state *state = (segas1x_state *)space->machine->driver_data;
|
||||
int irqline;
|
||||
|
||||
/* if we have a fake i8751 handler, ignore writes by the actual 8751 */
|
||||
if (state->i8751_vblank_hook != NULL)
|
||||
return;
|
||||
|
||||
cpu_set_input_line(state->maincpu, INPUT_LINE_RESET, (data & 0x40) ? ASSERT_LINE : CLEAR_LINE);
|
||||
for (irqline = 1; irqline <= 7; irqline++)
|
||||
cpu_set_input_line(state->maincpu, irqline, ((~data & 7) == irqline) ? ASSERT_LINE : CLEAR_LINE);
|
||||
|
Loading…
Reference in New Issue
Block a user