mirror of https://github.com/PCSX2/pcsx2.git
VIF: Slightly optimise when Row/Col are written to MTVU
This commit is contained in:
parent
e8c91f0537
commit
c9a5443539
|
@ -537,7 +537,8 @@ vifOp(vifCode_STCol) {
|
||||||
}
|
}
|
||||||
pass2 {
|
pass2 {
|
||||||
u32 ret = _vifCode_STColRow<idx>(data, &vifX.MaskCol._u32[vifX.tag.addr]);
|
u32 ret = _vifCode_STColRow<idx>(data, &vifX.MaskCol._u32[vifX.tag.addr]);
|
||||||
if (idx) { vu1Thread.WriteCol(vifX); }
|
if (idx && vifX.tag.size == 0)
|
||||||
|
vu1Thread.WriteCol(vifX);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
pass3 { VifCodeLog("STCol"); }
|
pass3 { VifCodeLog("STCol"); }
|
||||||
|
@ -554,7 +555,8 @@ vifOp(vifCode_STRow) {
|
||||||
}
|
}
|
||||||
pass2 {
|
pass2 {
|
||||||
u32 ret = _vifCode_STColRow<idx>(data, &vifX.MaskRow._u32[vifX.tag.addr]);
|
u32 ret = _vifCode_STColRow<idx>(data, &vifX.MaskRow._u32[vifX.tag.addr]);
|
||||||
if (idx) { vu1Thread.WriteRow(vifX); }
|
if (idx && vifX.tag.size == 0)
|
||||||
|
vu1Thread.WriteRow(vifX);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
pass3 { VifCodeLog("STRow"); }
|
pass3 { VifCodeLog("STRow"); }
|
||||||
|
|
Loading…
Reference in New Issue