Dmac_Channel changes for Castlevania.

git-svn-id: http://svn.purei.org/purei/trunk@348 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
jpd002 2008-06-23 01:36:43 +00:00
parent 581b212a93
commit ed33581db6

View File

@ -95,7 +95,6 @@ void CChannel::WriteCHCR(uint32 nValue)
if(m_CHCR.nSTR != 0) if(m_CHCR.nSTR != 0)
{ {
m_CHCR.nASP = 0;
m_nSCCTRL |= SCCTRL_INITXFER; m_nSCCTRL |= SCCTRL_INITXFER;
Execute(); Execute();
} }
@ -130,9 +129,7 @@ void CChannel::Execute()
void CChannel::ExecuteNormal() void CChannel::ExecuteNormal()
{ {
uint32 nRecv; uint32 nRecv = m_pReceive(m_nMADR, m_nQWC, 0, false);
nRecv = m_pReceive(m_nMADR, m_nQWC, 0, false);
m_nMADR += nRecv * 0x10; m_nMADR += nRecv * 0x10;
m_nQWC -= nRecv; m_nQWC -= nRecv;