VIF: Fix out of bounds read caused by broken alignment logic

This commit is contained in:
chaoticgd
2026-09-13 08:41:13 +02:00
committed by lightningterror
parent 7a9af33f7d
commit e1bbcfc414
+1 -1
View File
@@ -361,7 +361,7 @@ _vifT int nVifUnpack(const u8* data)
_nVifUnpack(idx, data, vifRegs.mode, isFill);
}
else
vu1Thread.VifUnpack(vif, vifRegs, (u8*)data, (size + 4) & ~0x3);
vu1Thread.VifUnpack(vif, vifRegs, (u8*)data, size);
vif.pass = 0;
vif.tag.size = 0;