mirror of
https://github.com/holub/mame
synced 2025-05-22 21:58:57 +03:00
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:
parent
8c698eef61
commit
6d5e75f463
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user