diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/macro/macro_jit_x64.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp index 1ecf1d27f..202fbbc21 100644 --- a/src/video_core/macro/macro_jit_x64.cpp +++ b/src/video_core/macro/macro_jit_x64.cpp | |||
| @@ -240,10 +240,10 @@ void MacroJITx64Impl::Compile_ExtractInsert(Macro::Opcode opcode) { | |||
| 240 | } | 240 | } |
| 241 | 241 | ||
| 242 | void MacroJITx64Impl::Compile_ExtractShiftLeftImmediate(Macro::Opcode opcode) { | 242 | void MacroJITx64Impl::Compile_ExtractShiftLeftImmediate(Macro::Opcode opcode) { |
| 243 | auto dst = Compile_GetRegister(opcode.src_a, eax); | 243 | const auto dst = Compile_GetRegister(opcode.src_a, eax); |
| 244 | auto src = Compile_GetRegister(opcode.src_b, RESULT); | 244 | const auto src = Compile_GetRegister(opcode.src_b, RESULT); |
| 245 | 245 | ||
| 246 | shr(src, al); | 246 | shr(src, dst.cvt8()); |
| 247 | if (opcode.bf_size != 0 && opcode.bf_size != 31) { | 247 | if (opcode.bf_size != 0 && opcode.bf_size != 31) { |
| 248 | and_(src, opcode.GetBitfieldMask()); | 248 | and_(src, opcode.GetBitfieldMask()); |
| 249 | } else if (opcode.bf_size == 0) { | 249 | } else if (opcode.bf_size == 0) { |