From 471f33ceefeec3d3318824e279549a4238162920 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Sun, 2 Oct 2016 17:18:49 +0100 Subject: [PATCH] Vif Unpack: initialise UnpkNoOfIterations before use. --- pcsx2/x86/newVif_Dynarec.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcsx2/x86/newVif_Dynarec.cpp b/pcsx2/x86/newVif_Dynarec.cpp index 346bd040bc..afbe498a48 100644 --- a/pcsx2/x86/newVif_Dynarec.cpp +++ b/pcsx2/x86/newVif_Dynarec.cpp @@ -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);