From 63ecb56b51fecac82d3748a6e09a4372b8bda0ef Mon Sep 17 00:00:00 2001 From: Eladash Date: Wed, 10 Mar 2021 10:43:23 +0200 Subject: [PATCH] PPU interpreter hotfix --- rpcs3/Emu/Cell/PPUInterpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/PPUInterpreter.cpp b/rpcs3/Emu/Cell/PPUInterpreter.cpp index 8b412add38..6e5388f866 100644 --- a/rpcs3/Emu/Cell/PPUInterpreter.cpp +++ b/rpcs3/Emu/Cell/PPUInterpreter.cpp @@ -3415,7 +3415,7 @@ bool ppu_interpreter::MFOCRF(ppu_thread& ppu, ppu_opcode_t op) std::memcpy(&lane0, ppu.cr.bits, sizeof(v128)); std::memcpy(&lane1, ppu.cr.bits + 16, sizeof(v128)); const u32 mh = _mm_movemask_epi8(_mm_slli_epi64(lane0.value().vi, 7)); - const u32 ml = _mm_movemask_epi8(_mm_slli_epi64(lane0.value().vi, 7)); + const u32 ml = _mm_movemask_epi8(_mm_slli_epi64(lane1.value().vi, 7)); ppu.gpr[op.rd] = (mh << 16) | ml; }