CPU: Fix interpreter speed regression from recompiler

Seems the logging prevented ExecuteInstruction() from being inlined.
This commit is contained in:
Connor McLaughlin 2019-11-23 19:49:43 +10:00
parent 5d0a6f88ad
commit 201be8aa9c

View file

@ -645,12 +645,12 @@ void Core::ExecuteInstruction()
}
#endif
//#ifdef _DEBUG
#ifdef _DEBUG
if (TRACE_EXECUTION)
PrintInstruction(inst.bits, m_current_instruction_pc, this);
if (LOG_EXECUTION)
LogInstruction(inst.bits, m_current_instruction_pc, this);
//#endif
#endif
switch (inst.op)
{