diff --git a/pcsx2/Vif.cpp b/pcsx2/Vif.cpp index 3ae921089d..147f450188 100644 --- a/pcsx2/Vif.cpp +++ b/pcsx2/Vif.cpp @@ -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++); }