mirror of
https://github.com/libretro/Play-.git
synced 2025-01-26 19:24:40 +00:00
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:
parent
581b212a93
commit
ed33581db6
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user