From 19aa10df756761f9770bd25c0b45955fa70370e5 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Mon, 28 Dec 2020 12:48:03 +0000 Subject: [PATCH] Jit_Integer: rlwimix: Fix bug in mask == 0xFFFFFFFF case --- Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp index 6063a5a704..eab1246a58 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp @@ -1668,7 +1668,7 @@ void Jit64::rlwimix(UGeckoInstruction inst) else if (mask == 0xFFFFFFFF) { RCOpArg Rs = gpr.Use(s, RCMode::Read); - RCX64Reg Ra = gpr.Bind(a, RCMode::Read); + RCX64Reg Ra = gpr.Bind(a, RCMode::Write); RegCache::Realize(Rs, Ra); RotateLeft(32, Ra, Rs, inst.SH); needs_test = true;