mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-29 17:15:40 +00:00
CPU/Recompiler: Only check interpreter load delay when it's dirty
This commit is contained in:
parent
e3965d9be3
commit
6c6bf8714c
|
@ -1661,6 +1661,9 @@ void CodeGenerator::EmitMoveNextInterpreterLoadDelay()
|
||||||
|
|
||||||
void CodeGenerator::EmitCancelInterpreterLoadDelayForReg(Reg reg)
|
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)];
|
auto load_delay_reg = m_emit->byte[GetCPUPtrReg() + offsetof(Core, m_load_delay_reg)];
|
||||||
|
|
||||||
Xbyak::Label skip_cancel;
|
Xbyak::Label skip_cancel;
|
||||||
|
|
Loading…
Reference in a new issue