Previous 199869 Revisions Next

r21174 Tuesday 19th February, 2013 at 00:40:44 UTC by Angelo Salese
Small fix, nw
[src/emu/machine]stvcd.c
[src/mame/drivers]saturn.c

trunk/src/emu/machine/stvcd.c
r21173r21174
734734         if(cr1 & 0x40)
735735         {
736736            for(i=0;i<MAX_FILTERS;i++)
737               filters[i].condtrue = i;
737               filters[i].condtrue = 0xff;
738738         }
739739
740740         /* reset filter conditions*/
trunk/src/mame/drivers/saturn.c
r21173r21174
277277         break;
278278      case 0xa4/4:
279279         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);
280         /* TODO: Bug! trips an HW fault. Basically, it tries to read the IST bit 1 with that irq enabled. */
281         res = m_scu.ist | ~m_scu.ism;
282//         res = m_scu.ist;
280         /* TODO: Bug! trips an HW fault. Basically, it tries to read the IST bit 1 with that irq enabled.
281             Densetsu no Ogre Battle doesn't like this, so it needs investigation ...
282         */
283//         res = m_scu.ist | ~m_scu.ism;
284         res = m_scu.ist;
283285         break;
284286      case 0xc8/4:
285287         if(LOG_SCU && !space.debugger_access()) logerror("(PC=%08x) SCU version reg read\n",space.device().safe_pc());

Previous 199869 Revisions Next


© 1997-2024 The MAME Team