mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 10:10:12 +01:00
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:
1 parent
74723011f6
commit
ec41e24228
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user