summaryrefslogtreecommitdiff
path: root/src/video_core/macro
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-06-12 17:14:27 -0400
committerLiam <byteslice@airmail.cc>2022-06-13 20:09:32 -0400
commitebecdd3a7458dd5a353524dc161f4050d019b7be (patch)
tree0328113f3ceef6a4ccbfd6a98d121cd3c03e1626 /src/video_core/macro
parenta29ddcee40d78b1c1f7f64855331888777add4f4 (diff)
general: fix compilation on MinGW GCC 12
Diffstat (limited to 'src/video_core/macro')
-rw-r--r--src/video_core/macro/macro_jit_x64.cpp2
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) {
Xbyak::Label end;
auto value = Compile_GetRegister(opcode.src_a, eax);
- test(value, value);
+ cmp(value, 0); // test(value, value);
if (optimizer.has_delayed_pc) {
switch (opcode.branch_condition) {
case Macro::BranchCondition::Zero: