mirror of
https://github.com/holub/mame
synced 2025-06-02 02:49:44 +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;
|
vector = (sh2->m[0x68]) & 0x7f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if((sh2->m[0x67] & 6) == 6 && sh2->dma_irq[1]) {
|
||||||
if((sh2->m[0x67] & 6) == 6 && sh2->dma_irq[1]) {
|
|
||||||
level = (sh2->m[0x38] >> 8) & 15;
|
level = (sh2->m[0x38] >> 8) & 15;
|
||||||
if(level > irq) {
|
if(level > irq) {
|
||||||
irq = level;
|
irq = level;
|
||||||
|
Loading…
Reference in New Issue
Block a user