Fix for one small bug, doesnt fix tekken 5 tho :(

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@944 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
refraction 2009-04-10 13:08:19 +00:00
parent b0da55cb89
commit 432b060109
1 changed files with 6 additions and 2 deletions

View File

@ -183,8 +183,12 @@ void __fastcall UNPACK_V3(u32 *dest, T *data, int size)
if(_vifRegs->offset == OFFSET_Z)
{
writeXYZW(_vifRegs->offset, *dest++, *data++);
_vifRegs->offset = OFFSET_W;
if (size > 0)
{
writeXYZW(_vifRegs->offset, *dest++, *data++);
_vifRegs->offset = OFFSET_W;
size--;
}
}
if(_vifRegs->offset == OFFSET_W)