Skip to content
Snippets Groups Projects
Commit 9ed09e0d authored by Geo Ster's avatar Geo Ster
Browse files

DMAC: Don't transfer tag if TTE is not set

parent aed51541
No related branches found
No related tags found
No related merge requests found
......@@ -317,8 +317,11 @@ namespace ee
fmt::print("[DMAC] Read VIF{} DMA tag {:#x}\n", id, (uint64_t)tag.value);
/* Transfer the tag before any data */
if (channel.control.transfer_tag && !vif->write_fifo<uint64_t>(NULL, tag.data))
return;
if (channel.control.transfer_tag)
{
if (!vif->write_fifo<uint64_t>(NULL, tag.data))
return;
}
/* Update channel from tag */
channel.qword_count = tag.qwords;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment