diff --git a/Core/MIPS/x86/CompVFPU.cpp b/Core/MIPS/x86/CompVFPU.cpp index bddc52fc6c..8d2efab670 100644 --- a/Core/MIPS/x86/CompVFPU.cpp +++ b/Core/MIPS/x86/CompVFPU.cpp @@ -533,7 +533,7 @@ void Jit::Comp_VIdt(MIPSOpcode op) { GetVectorRegsPrefixD(dregs, sz, _VD); if (fpr.TryMapRegsVS(dregs, sz, MAP_NOINIT | MAP_DIRTY)) { int row = vd & (n - 1); - MOVAPS(fpr.VSX(dregs), M(identityMatrix[n])); + MOVAPS(fpr.VSX(dregs), M(identityMatrix[row])); ApplyPrefixD(dregs, sz); fpr.ReleaseSpillLocks(); return;