mirror of
https://github.com/holub/mame
synced 2025-05-29 17:13:05 +03:00
Actually I think it's safer like this (otherwise you possibly miss an irq if both are enabled), nw
This commit is contained in:
parent
6ab4a9f168
commit
713087264a
@ -869,8 +869,7 @@ void sh2_recalc_irq(sh2_state *sh2)
|
||||
vector = (sh2->m[0x68]) & 0x7f;
|
||||
}
|
||||
}
|
||||
|
||||
if((sh2->m[0x67] & 6) == 6 && sh2->dma_irq[1]) {
|
||||
else if((sh2->m[0x67] & 6) == 6 && sh2->dma_irq[1]) {
|
||||
level = (sh2->m[0x38] >> 8) & 15;
|
||||
if(level > irq) {
|
||||
irq = level;
|
||||
|
Loading…
Reference in New Issue
Block a user