src/mess/drivers/gba.c
| r10188 | r10189 | |
| 1607 | 1607 | { |
| 1608 | 1608 | int ctrl = data>>16; |
| 1609 | 1609 | |
| 1610 | // Note: Metroid Fusion fails if we enforce the "rising edge" requirement... (who wrote this note?) |
| 1611 | |
| 1612 | // Note: Caesar's Palace Advance fails if we DO NOT enforce the "rising edge" requirement |
| 1613 | // (value @ 0x3003F9C is accidentally incremented because DMA completion interrupt is accidentally triggered @ 08002F2A) |
| 1614 | |
| 1610 | 1615 | // retrigger/restart on a rising edge. |
| 1611 | 1616 | // also reload internal regs |
| 1612 | | // (note: Metroid Fusion fails if we enforce the "rising edge" requirement...) |
| 1613 | | if (ctrl & 0x8000) //&& !(state->dma_regs[offset] & 0x80000000)) |
| 1617 | if ((ctrl & 0x8000) && !(state->dma_regs[offset] & 0x80000000)) |
| 1614 | 1618 | { |
| 1615 | 1619 | state->dma_src[ch] = state->dma_regs[(ch*3)+0]; |
| 1616 | 1620 | state->dma_dst[ch] = state->dma_regs[(ch*3)+1]; |