last silly mistake, promise :P

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@938 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
refraction 2009-04-09 23:20:13 +00:00
parent 08d6f10d57
commit ccacbedc50
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ void __fastcall UNPACK_V3(u32 *dest, T *data, int size)
_UNPACKpart(_vifRegs->offset, *dest++, *data++);
size--;
}
if(_vifRegs->offset == OFFSET_Z)
if(_vifRegs->offset == OFFSET_Z && size > 0)
{
_UNPACKpart(_vifRegs->offset, *dest++, *data++);
}