Vif Unpack: initialise UnpkNoOfIterations before use.

This commit is contained in:
refractionpcsx2 2016-10-02 17:18:49 +01:00
parent 744d07b8a1
commit 471f33ceef
1 changed files with 1 additions and 0 deletions

View File

@ -209,6 +209,7 @@ void VifUnpackSSE_Dynarec::CompileRoutine() {
uint vNum = vB.num ? vB.num : 256;
doMode = (upkNum == 0xf) ? 0 : doMode; // V4_5 has no mode feature.
UnpkNoOfIterations = 0;
MSKPATH3_LOG("Compiling new block, unpack number %x, mode %x, masking %x, vNum %x", upkNum, doMode, doMask, vNum);
pxAssume(vCL == 0);