diff --git a/Source/Project64-core/N64System/Recompiler/x86/x86ops.cpp b/Source/Project64-core/N64System/Recompiler/x86/x86ops.cpp index db08f9e51..5e6931458 100644 --- a/Source/Project64-core/N64System/Recompiler/x86/x86ops.cpp +++ b/Source/Project64-core/N64System/Recompiler/x86/x86ops.cpp @@ -10,7 +10,7 @@ CX86Ops::CX86Ops(CCodeBlock & CodeBlock) : asmjit::x86::Assembler(&CodeBlock.CodeHolder()), m_CodeBlock(CodeBlock) { - setLogger(this); + setLogger(CDebugSettings::bRecordRecompilerAsm() ? this : nullptr); setErrorHandler(&CodeBlock); addFlags(asmjit::FormatFlags::kHexOffsets); addFlags(asmjit::FormatFlags::kHexImms);