CPU: Warning fix

This commit is contained in:
Connor McLaughlin 2021-11-29 18:23:11 +10:00
parent 59cb7c0343
commit bbf67ef544

View file

@ -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;