CPU/Recompiler: Only check interpreter load delay when it's dirty

This commit is contained in:
Connor McLaughlin 2019-11-24 16:51:08 +10:00
parent e3965d9be3
commit 6c6bf8714c

View file

@ -1661,6 +1661,9 @@ void CodeGenerator::EmitMoveNextInterpreterLoadDelay()
void CodeGenerator::EmitCancelInterpreterLoadDelayForReg(Reg reg)
{
if (!m_load_delay_dirty)
return;
auto load_delay_reg = m_emit->byte[GetCPUPtrReg() + offsetof(Core, m_load_delay_reg)];
Xbyak::Label skip_cancel;