Previous 199869 Revisions Next

r20969 Tuesday 12th February, 2013 at 01:01:09 UTC by Angelo Salese
Fixed regression with Burning Rangers
[src/mame/drivers]saturn.c

trunk/src/mame/drivers/saturn.c
r20968r20969
303303      case 0xa4/4:
304304         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);
305305         /* 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;
308308         break;
309309      case 0xc8/4:
310310         if(LOG_SCU && !space.debugger_access()) logerror("(PC=%08x) SCU version reg read\n",space.device().safe_pc());
r20968r20969
514514      }
515515   }
516516
517   m_scu.size[dma_ch] = 0;
517   /* Burning Rangers doesn't agree with this. */
518//   m_scu.size[dma_ch] = 0;
518519   if(!(DRUP(dma_ch))) m_scu.src[dma_ch] = tmp_src;
519520   if(!(DWUP(dma_ch))) m_scu.dst[dma_ch] = tmp_dst;
520521

Previous 199869 Revisions Next


© 1997-2024 The MAME Team