scramble.c: fixed crash in 800fath,mariner, knockout, triplep and sets having a 7474 without the "audiocpu". no idea why it has started to crash only now... no whatsnew.

This commit is contained in:
Fabio Priuli 2012-05-16 21:25:46 +00:00
parent 8c698eef61
commit 6d5e75f463

View File

@ -114,7 +114,8 @@ WRITE_LINE_DEVICE_HANDLER( scramble_sh_7474_q_callback )
{ {
/* the Q bar is connected to the Z80's INT line. But since INT is complemented, */ /* the Q bar is connected to the Z80's INT line. But since INT is complemented, */
/* we need to complement Q bar */ /* we need to complement Q bar */
cputag_set_input_line(device->machine(), "audiocpu", 0, !state ? ASSERT_LINE : CLEAR_LINE); if (device->machine().device("audiocpu"))
cputag_set_input_line(device->machine(), "audiocpu", 0, !state ? ASSERT_LINE : CLEAR_LINE);
} }
WRITE8_MEMBER(scramble_state::hotshock_sh_irqtrigger_w) WRITE8_MEMBER(scramble_state::hotshock_sh_irqtrigger_w)