mirror of https://github.com/PCSX2/pcsx2.git
IPU: Cleanup variable scope.
Use totalqwc instead of ipu1cycles for adding cycles. Codacy.
This commit is contained in:
parent
c82a927556
commit
7d2209860e
|
@ -68,7 +68,6 @@ static __fi int IPU1chain() {
|
||||||
|
|
||||||
void IPU1dma()
|
void IPU1dma()
|
||||||
{
|
{
|
||||||
int ipu1cycles = 0;
|
|
||||||
int totalqwc = 0;
|
int totalqwc = 0;
|
||||||
|
|
||||||
if(!ipu1ch.chcr.STR || ipu1ch.chcr.MOD == 2)
|
if(!ipu1ch.chcr.STR || ipu1ch.chcr.MOD == 2)
|
||||||
|
@ -101,7 +100,7 @@ void IPU1dma()
|
||||||
}
|
}
|
||||||
ipu1ch.madr = ptag[1]._u32;
|
ipu1ch.madr = ptag[1]._u32;
|
||||||
|
|
||||||
ipu1cycles += 1; // Add 1 cycles from the QW read for the tag
|
totalqwc += 1; // Add 1 cycles from the QW read for the tag
|
||||||
|
|
||||||
if (ipu1ch.chcr.TTE) DevCon.Warning("TTE?");
|
if (ipu1ch.chcr.TTE) DevCon.Warning("TTE?");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue