SPR spacing cleanup (#3499)

Correct spacing in SPR.cpp
This commit is contained in:
Mrlinkwii 2020-06-26 20:21:55 +01:00 committed by GitHub
parent 3269c58c8d
commit 0f1cbe7410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 23 deletions

View File

@ -128,7 +128,7 @@ int _SPR0chain()
partialqwc = spr0ch.qwc;
memcpy_from_spr((u8*)pMem, spr0ch.sadr, partialqwc*16);
// clear VU mem also!
// Clear VU mem also!
TestClearVUs(spr0ch.madr, partialqwc, true);
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()
@ -179,7 +179,7 @@ void _SPR0interleave()
case NO_MFD:
case MFD_RESERVED:
// clear VU mem also!
// Clear VU mem also!
TestClearVUs(spr0ch.madr, spr0ch.qwc, true);
memcpy_from_spr((u8*)pMem, spr0ch.sadr, spr0ch.qwc*16);
break;
@ -288,7 +288,7 @@ void SPRFROMinterrupt()
{
_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)
if(mfifotransferred != 0 && spr0ch.qwc == 0)
{
@ -330,8 +330,8 @@ void dmaSPR0() // fromSPR
if(spr0ch.chcr.MOD == CHAIN_MODE && spr0ch.qwc > 0)
{
//DevCon.Warning(L"SPR0 QWC on Chain " + spr0ch.chcr.desc());
if (spr0ch.chcr.tag().ID == TAG_END) // but not TAG_REFE?
{ // Correct not REFE, Destination Chain doesnt have REFE!
if (spr0ch.chcr.tag().ID == TAG_END) // But not TAG_REFE?
{ // correct not REFE, Destination Chain doesnt have REFE!
spr0finished = true;
}
}