diff options
| author | 2022-06-12 17:14:27 -0400 | |
|---|---|---|
| committer | 2022-06-13 20:09:32 -0400 | |
| commit | ebecdd3a7458dd5a353524dc161f4050d019b7be (patch) | |
| tree | 0328113f3ceef6a4ccbfd6a98d121cd3c03e1626 /src/video_core | |
| parent | common/assert: add unlikely (diff) | |
| download | yuzu-ebecdd3a7458dd5a353524dc161f4050d019b7be.tar.gz yuzu-ebecdd3a7458dd5a353524dc161f4050d019b7be.tar.xz yuzu-ebecdd3a7458dd5a353524dc161f4050d019b7be.zip | |
general: fix compilation on MinGW GCC 12
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/macro/macro_jit_x64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp index dc5376501..aca25d902 100644 --- a/src/video_core/macro/macro_jit_x64.cpp +++ b/src/video_core/macro/macro_jit_x64.cpp | |||
| @@ -411,7 +411,7 @@ void MacroJITx64Impl::Compile_Branch(Macro::Opcode opcode) { | |||
| 411 | 411 | ||
| 412 | Xbyak::Label end; | 412 | Xbyak::Label end; |
| 413 | auto value = Compile_GetRegister(opcode.src_a, eax); | 413 | auto value = Compile_GetRegister(opcode.src_a, eax); |
| 414 | test(value, value); | 414 | cmp(value, 0); // test(value, value); |
| 415 | if (optimizer.has_delayed_pc) { | 415 | if (optimizer.has_delayed_pc) { |
| 416 | switch (opcode.branch_condition) { | 416 | switch (opcode.branch_condition) { |
| 417 | case Macro::BranchCondition::Zero: | 417 | case Macro::BranchCondition::Zero: |