Jit_Integer: rlwimix: Fix bug in mask == 0xFFFFFFFF case

This commit is contained in:
MerryMage 2020-12-28 12:48:03 +00:00
parent 4e0a688076
commit 19aa10df75

View File

@ -1668,7 +1668,7 @@ void Jit64::rlwimix(UGeckoInstruction inst)
else if (mask == 0xFFFFFFFF) else if (mask == 0xFFFFFFFF)
{ {
RCOpArg Rs = gpr.Use(s, RCMode::Read); 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); RegCache::Realize(Rs, Ra);
RotateLeft(32, Ra, Rs, inst.SH); RotateLeft(32, Ra, Rs, inst.SH);
needs_test = true; needs_test = true;