diff --git a/src/core/cpu_core.cpp b/src/core/cpu_core.cpp index ce0867e62..ed1ed248d 100644 --- a/src/core/cpu_core.cpp +++ b/src/core/cpu_core.cpp @@ -539,6 +539,8 @@ ALWAYS_INLINE_RELEASE void Cop0DataBreakpointCheck(VirtualMemoryAddress address) DispatchCop0Breakpoint(); } +#ifdef _DEBUG + static void TracePrintInstruction() { const u32 pc = g_state.current_instruction_pc; @@ -559,6 +561,8 @@ static void TracePrintInstruction() std::printf("%08x: %08x %s\n", pc, bits, instr.GetCharArray()); } +#endif + static void PrintInstruction(u32 bits, u32 pc, Registers* regs, const char* prefix) { TinyString instr;