summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp
index b4cb6cee39..2997748790 100644
--- a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp
+++ b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp
@@ -693,6 +693,12 @@ void Jit64::boolX(UGeckoInstruction inst)
MOV(32, Ra, Rj);
needs_test = true;
}
+ else if (imm == 0xFFFFFFFF && !inst.Rc)
+ {
+ if (a != j)
+ MOV(32, Ra, Rj);
+ NOT(32, Ra);
+ }
else
{
if (a != j)