MSLC port in SCSP writes seems to mask with 0xf800 according to Jikkyou Oshaberi Parodius.

This commit is contained in:
angelosa 2015-07-23 01:06:54 +02:00
parent 6da34a3c4d
commit cbabe480be

View File

@ -282,6 +282,8 @@ void scsp_device::MainCheckPendingIRQ(UINT16 irq_type)
{ {
m_mcipd |= irq_type; m_mcipd |= irq_type;
//machine().scheduler().synchronize(); // force resync
if(m_mcipd & m_mcieb) if(m_mcipd & m_mcieb)
m_main_irq_cb(1); m_main_irq_cb(1);
else else
@ -696,8 +698,8 @@ void scsp_device::UpdateReg(address_space &space, int reg)
break; break;
case 8: case 8:
case 9: case 9:
/* Only MSLC could be written. */ /* Only MSLC could be written. */
m_udata.data[0x8/2] &= 0x7800; m_udata.data[0x8/2] &= 0xf800; /**< @todo Docs claims MSLC to be 0x7800, but Jikkyou Parodius doesn't agree. */
break; break;
case 0x12: case 0x12:
case 0x13: case 0x13: