diff options
author | Angelo Salese <salese_corp_ltd@email.it> | 2015-04-01 20:05:30 +0200 |
---|---|---|
committer | Angelo Salese <salese_corp_ltd@email.it> | 2015-04-01 20:05:30 +0200 |
commit | 965148935ba6194e8092ada36527d95a1004c07f (patch) | |
tree | cdfd4dbbf1f31782bbc437c05d0538e99a6c28be /src/mame/drivers/hng64.c | |
parent | 719ba014ddf2b812f3ba8ef372097ebbe5f3a779 (diff) |
sams64 doesn't like that we fire an irq even if bit 0 is 0. Fix it.
Diffstat (limited to 'src/mame/drivers/hng64.c')
-rw-r--r-- | src/mame/drivers/hng64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/hng64.c b/src/mame/drivers/hng64.c index b481bc92132..9d5e5152604 100644 --- a/src/mame/drivers/hng64.c +++ b/src/mame/drivers/hng64.c @@ -948,8 +948,8 @@ WRITE16_MEMBER(hng64_state::main_sound_comms_w) COMBINE_DATA(&main_latch[1]); break; case 0x08: - m_audiocpu->set_input_line(5, ASSERT_LINE); - if(data != 1) + m_audiocpu->set_input_line(5, (data & 1) ? ASSERT_LINE : CLEAR_LINE); + if(data & 0xfe) printf("IRQ send %02x?\n",data); break; default: |