Merge pull request #4631 from Happy-yappH/master

sgi hpc1, fix dma byte count mask, (nw)
This commit is contained in:
ajrhacker 2019-02-11 21:36:26 -05:00 committed by GitHub
commit 74713c383d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -523,7 +523,7 @@ void hpc1_device::fetch_chain()
m_scsi_dma.m_ctrl = m_cpu_space->read_dword(m_scsi_dma.m_desc);
m_scsi_dma.m_addr = m_cpu_space->read_dword(m_scsi_dma.m_desc+4);
m_scsi_dma.m_next = m_cpu_space->read_dword(m_scsi_dma.m_desc+8);
m_scsi_dma.m_length = m_scsi_dma.m_ctrl & 0x3fff;
m_scsi_dma.m_length = m_scsi_dma.m_ctrl & 0x1fff;
LOGMASKED(LOG_CHAIN, "Fetching chain from %08x:\n", m_scsi_dma.m_desc);
LOGMASKED(LOG_CHAIN, " Addr: %08x\n", m_scsi_dma.m_addr);