diff --git a/XenonRecomp/recompiler.cpp b/XenonRecomp/recompiler.cpp index 2902687..05b768f 100644 --- a/XenonRecomp/recompiler.cpp +++ b/XenonRecomp/recompiler.cpp @@ -685,6 +685,12 @@ bool Recompiler::Recompile( println("\tif ({}.u32 != 0 && !{}.eq) goto loc_{:X};", ctr(), cr(insn.operands[0] / 4), insn.operands[1]); break; + case PPC_INST_BDNZT: + // NOTE(crack): Same note as BDNZF but true instead of false + println("\t--{}.u64;", ctr()); + println("\tif ({}.u32 != 0 && {}.eq) goto loc_{:X};", ctr(), cr(insn.operands[0] / 4), insn.operands[1]); + break; + case PPC_INST_BEQ: printConditionalBranch(false, "eq"); break;