From c6ed7ff9cf24817756ded174617378bbff590879 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Fri, 24 May 2013 20:48:04 -0700 Subject: [PATCH] Fixing cr5+ checks. --- src/xenia/cpu/x64/x64_emitter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/cpu/x64/x64_emitter.cc b/src/xenia/cpu/x64/x64_emitter.cc index d16026a9f..f3278cfb2 100644 --- a/src/xenia/cpu/x64/x64_emitter.cc +++ b/src/xenia/cpu/x64/x64_emitter.cc @@ -1066,7 +1066,7 @@ void X64Emitter::FillRegisters() { } // (cr >> 28 - n * 4) & 0xF c.mov(cr_tmp, cr); - if (n < 4) { + if (n < 7) { c.shr(cr_tmp, imm(28 - n * 4)); } c.and_(cr_tmp, imm(0xF));