mirror of https://github.com/PCSX2/pcsx2.git
Small unpack bug with interpreted/partial transfers in fill mode (probably REALLY uncommon).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4526 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
74723011f6
commit
ec41e24228
|
@ -149,7 +149,7 @@ _vifT int nVifUnpack(const u8* data) {
|
|||
++vif.cl;
|
||||
|
||||
if (isFill) {
|
||||
if (vif.cl < vifRegs.cycle.cl) size -= vSize;
|
||||
if (vif.cl <= vifRegs.cycle.cl) size -= vSize;
|
||||
else if (vif.cl == vifRegs.cycle.wl) vif.cl = 0;
|
||||
}
|
||||
else
|
||||
|
@ -262,7 +262,7 @@ __ri void __fastcall _nVifUnpackLoop(const u8* data) {
|
|||
|
||||
if (isFill) {
|
||||
//DevCon.WriteLn("isFill!");
|
||||
if (vif.cl < vifRegs.cycle.cl) data += vSize;
|
||||
if (vif.cl <= vifRegs.cycle.cl) data += vSize;
|
||||
else if (vif.cl == vifRegs.cycle.wl) vif.cl = 0;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue