mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
TEMP: Partially handle destination chain transfers that has an initial payload.
This is not right, but allows GTA VC to go ingame.
This commit is contained in:
parent
197e45ea25
commit
0c82efb990
1 changed files with 13 additions and 2 deletions
|
@ -461,10 +461,21 @@ void CChannel::ExecuteDestinationChain()
|
|||
{
|
||||
assert(m_number == CDMAC::CHANNEL_ID_FROM_SPR);
|
||||
|
||||
if(m_nQWC != 0)
|
||||
{
|
||||
assert(m_CHCR.nSTR == 1);
|
||||
|
||||
uint32 recv = m_receive(m_nMADR, m_nQWC, m_CHCR.nDIR, false);
|
||||
assert(recv == m_nQWC);
|
||||
|
||||
m_nMADR += recv * 0x10;
|
||||
m_nQWC -= recv;
|
||||
|
||||
ClearSTR();
|
||||
}
|
||||
|
||||
while(m_CHCR.nSTR == 1)
|
||||
{
|
||||
assert(m_nQWC == 0);
|
||||
|
||||
auto tag = make_convertible<DMAtag>(m_dmac.FetchDMATag(m_dmac.m_D8_SADR | 0x80000000));
|
||||
m_dmac.m_D8_SADR += 0x10;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue