diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2020-06-20 23:23:58 +0200 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2020-06-20 23:24:05 +0200 |
commit | c12eb814b41b5b354df2548d5d48b9ae529ad4b8 (patch) | |
tree | 36349414de9fa68144ad5b0c6e2f44d1956c77c9 /src | |
parent | Merge pull request #4125 from lioncash/macro-shift (diff) | |
download | yuzu-c12eb814b41b5b354df2548d5d48b9ae529ad4b8.tar yuzu-c12eb814b41b5b354df2548d5d48b9ae529ad4b8.tar.gz yuzu-c12eb814b41b5b354df2548d5d48b9ae529ad4b8.tar.bz2 yuzu-c12eb814b41b5b354df2548d5d48b9ae529ad4b8.tar.lz yuzu-c12eb814b41b5b354df2548d5d48b9ae529ad4b8.tar.xz yuzu-c12eb814b41b5b354df2548d5d48b9ae529ad4b8.tar.zst yuzu-c12eb814b41b5b354df2548d5d48b9ae529ad4b8.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/macro/macro_jit_x64.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp index 4eef342ec..389b58989 100644 --- a/src/video_core/macro/macro_jit_x64.cpp +++ b/src/video_core/macro/macro_jit_x64.cpp @@ -239,7 +239,7 @@ void MacroJITx64Impl::Compile_ExtractInsert(Macro::Opcode opcode) { } void MacroJITx64Impl::Compile_ExtractShiftLeftImmediate(Macro::Opcode opcode) { - const auto dst = Compile_GetRegister(opcode.src_a, eax); + const auto dst = Compile_GetRegister(opcode.src_a, ecx); const auto src = Compile_GetRegister(opcode.src_b, RESULT); shr(src, dst.cvt8()); @@ -258,7 +258,7 @@ void MacroJITx64Impl::Compile_ExtractShiftLeftImmediate(Macro::Opcode opcode) { } void MacroJITx64Impl::Compile_ExtractShiftLeftRegister(Macro::Opcode opcode) { - const auto dst = Compile_GetRegister(opcode.src_a, eax); + const auto dst = Compile_GetRegister(opcode.src_a, ecx); const auto src = Compile_GetRegister(opcode.src_b, RESULT); if (opcode.bf_src_bit != 0) { |