mirror of https://github.com/PCSX2/pcsx2.git
parent
3269c58c8d
commit
0f1cbe7410
|
@ -128,7 +128,7 @@ int _SPR0chain()
|
||||||
partialqwc = spr0ch.qwc;
|
partialqwc = spr0ch.qwc;
|
||||||
memcpy_from_spr((u8*)pMem, spr0ch.sadr, partialqwc*16);
|
memcpy_from_spr((u8*)pMem, spr0ch.sadr, partialqwc*16);
|
||||||
|
|
||||||
// clear VU mem also!
|
// Clear VU mem also!
|
||||||
TestClearVUs(spr0ch.madr, partialqwc, true);
|
TestClearVUs(spr0ch.madr, partialqwc, true);
|
||||||
|
|
||||||
spr0ch.madr += partialqwc << 4;
|
spr0ch.madr += partialqwc << 4;
|
||||||
|
@ -140,7 +140,7 @@ int _SPR0chain()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return (partialqwc); // bus is 1/2 the ee speed
|
return (partialqwc); // Bus is 1/2 the ee speed
|
||||||
}
|
}
|
||||||
|
|
||||||
__fi void SPR0chain()
|
__fi void SPR0chain()
|
||||||
|
@ -179,7 +179,7 @@ void _SPR0interleave()
|
||||||
|
|
||||||
case NO_MFD:
|
case NO_MFD:
|
||||||
case MFD_RESERVED:
|
case MFD_RESERVED:
|
||||||
// clear VU mem also!
|
// Clear VU mem also!
|
||||||
TestClearVUs(spr0ch.madr, spr0ch.qwc, true);
|
TestClearVUs(spr0ch.madr, spr0ch.qwc, true);
|
||||||
memcpy_from_spr((u8*)pMem, spr0ch.sadr, spr0ch.qwc*16);
|
memcpy_from_spr((u8*)pMem, spr0ch.sadr, spr0ch.qwc*16);
|
||||||
break;
|
break;
|
||||||
|
@ -288,7 +288,7 @@ void SPRFROMinterrupt()
|
||||||
{
|
{
|
||||||
_dmaSPR0();
|
_dmaSPR0();
|
||||||
|
|
||||||
//the qwc check is simply because having data still to transfer from the packet can freak games out if they do a d.tadr == s.madr check
|
// The qwc check is simply because having data still to transfer from the packet can freak games out if they do a d.tadr == s.madr check
|
||||||
// and there is still data to come over (FF12 ingame menu)
|
// and there is still data to come over (FF12 ingame menu)
|
||||||
if(mfifotransferred != 0 && spr0ch.qwc == 0)
|
if(mfifotransferred != 0 && spr0ch.qwc == 0)
|
||||||
{
|
{
|
||||||
|
@ -330,8 +330,8 @@ void dmaSPR0() // fromSPR
|
||||||
if(spr0ch.chcr.MOD == CHAIN_MODE && spr0ch.qwc > 0)
|
if(spr0ch.chcr.MOD == CHAIN_MODE && spr0ch.qwc > 0)
|
||||||
{
|
{
|
||||||
//DevCon.Warning(L"SPR0 QWC on Chain " + spr0ch.chcr.desc());
|
//DevCon.Warning(L"SPR0 QWC on Chain " + spr0ch.chcr.desc());
|
||||||
if (spr0ch.chcr.tag().ID == TAG_END) // but not TAG_REFE?
|
if (spr0ch.chcr.tag().ID == TAG_END) // But not TAG_REFE?
|
||||||
{ // Correct not REFE, Destination Chain doesnt have REFE!
|
{ // correct not REFE, Destination Chain doesnt have REFE!
|
||||||
spr0finished = true;
|
spr0finished = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue