mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
IPU: Cleanup variable scope.
Use totalqwc instead of ipu1cycles for adding cycles. Codacy.
This commit is contained in:
1 parent
c82a927556
commit
7d2209860e
1 file changed
+1
-2
@@ -68,7 +68,6 @@ static __fi int IPU1chain() {
|
||||
|
||||
void IPU1dma()
|
||||
{
|
||||
int ipu1cycles = 0;
|
||||
int totalqwc = 0;
|
||||
|
||||
if(!ipu1ch.chcr.STR || ipu1ch.chcr.MOD == 2)
|
||||
@@ -101,7 +100,7 @@ void IPU1dma()
|
||||
}
|
||||
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?");
|
||||
|
||||
|
||||
Reference in new issue
Block a user