Previous 199869 Revisions Next

r21172 Monday 18th February, 2013 at 21:50:47 UTC by Angelo Salese
Actually I think it's safer like this (otherwise you possibly miss an irq if both are enabled), nw
[src/emu/cpu/sh2]sh2comn.c

trunk/src/emu/cpu/sh2/sh2comn.c
r21171r21172
869869         vector = (sh2->m[0x68]) & 0x7f;
870870      }
871871   }
872
873   if((sh2->m[0x67] & 6) == 6 && sh2->dma_irq[1]) {
872   else if((sh2->m[0x67] & 6) == 6 && sh2->dma_irq[1]) {
874873      level = (sh2->m[0x38] >> 8) & 15;
875874      if(level > irq) {
876875         irq = level;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team