trunk/src/mame/drivers/saturn.c
| r20968 | r20969 | |
| 303 | 303 | case 0xa4/4: |
| 304 | 304 | if(LOG_SCU && !space.debugger_access()) logerror("(PC=%08x) IRQ status reg read MASK=%08x IST=%08x | ISM=%08x\n",space.device().safe_pc(),mem_mask,m_scu.ist,m_scu.ism); |
| 305 | 305 | /* TODO: Bug! trips an HW fault. Basically, it tries to read the IST bit 1 with that irq enabled. */ |
| 306 | | res = m_scu.ist | ~m_scu.ism; |
| 307 | | // res = m_scu.ist; |
| 306 | // res = m_scu.ist | ~m_scu.ism; |
| 307 | res = m_scu.ist; |
| 308 | 308 | break; |
| 309 | 309 | case 0xc8/4: |
| 310 | 310 | if(LOG_SCU && !space.debugger_access()) logerror("(PC=%08x) SCU version reg read\n",space.device().safe_pc()); |
| r20968 | r20969 | |
| 514 | 514 | } |
| 515 | 515 | } |
| 516 | 516 | |
| 517 | | m_scu.size[dma_ch] = 0; |
| 517 | /* Burning Rangers doesn't agree with this. */ |
| 518 | // m_scu.size[dma_ch] = 0; |
| 518 | 519 | if(!(DRUP(dma_ch))) m_scu.src[dma_ch] = tmp_src; |
| 519 | 520 | if(!(DWUP(dma_ch))) m_scu.dst[dma_ch] = tmp_dst; |
| 520 | 521 | |