diff options
-rw-r--r-- | src/ARMJIT_x64/ARMJIT_Compiler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ARMJIT_x64/ARMJIT_Compiler.cpp b/src/ARMJIT_x64/ARMJIT_Compiler.cpp index d3834b2..7f32f31 100644 --- a/src/ARMJIT_x64/ARMJIT_Compiler.cpp +++ b/src/ARMJIT_x64/ARMJIT_Compiler.cpp @@ -330,7 +330,8 @@ Compiler::Compiler() if (num == 0) { MOV(64, R(ABI_PARAM2), R(RCPU)); - MOV(32, R(ABI_PARAM3), R(rdMapped)); + if (rdMapped != ABI_PARAM3) + MOV(32, R(ABI_PARAM3), R(rdMapped)); } else { |