SIF DMA: Fix bug with Tag Interrupts

This commit is contained in:
refractionpcsx2 2020-09-14 20:26:25 +01:00
parent 6229b204fa
commit f7f9e30efc
1 changed files with 6 additions and 6 deletions

View File

@ -99,17 +99,17 @@ static __fi bool ProcessEETag()
sif1.fifo.write((u32*)ptag + 2, 2); sif1.fifo.write((u32*)ptag + 2, 2);
} }
if (sif1ch.chcr.TIE && ptag->IRQ)
{
Console.WriteLn("SIF1 TIE");
sif1.ee.end = true;
}
SIF_LOG(wxString(ptag->tag_to_str()).To8BitData()); SIF_LOG(wxString(ptag->tag_to_str()).To8BitData());
sif1ch.madr = ptag[1]._u32; sif1ch.madr = ptag[1]._u32;
sif1.ee.end = hwDmacSrcChain(sif1ch, ptag->ID); sif1.ee.end = hwDmacSrcChain(sif1ch, ptag->ID);
if (sif1ch.chcr.TIE && ptag->IRQ)
{
//Console.WriteLn("SIF1 TIE");
sif1.ee.end = true;
}
return true; return true;
} }