mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 22:35:39 +00:00
CPU/CachedInterpreter: Very slight optmization
This commit is contained in:
parent
d37fba81ed
commit
d3f530f96e
|
@ -165,15 +165,7 @@ static void ExecuteImpl()
|
||||||
LogCurrentState();
|
LogCurrentState();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (s_use_recompiler)
|
InterpretCachedBlock<pgxp_mode>(*block);
|
||||||
{
|
|
||||||
g_state.current_instruction_pc = g_state.regs.pc;
|
|
||||||
block->host_code();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
InterpretCachedBlock<pgxp_mode>(*block);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (g_state.pending_ticks >= g_state.downcount)
|
if (g_state.pending_ticks >= g_state.downcount)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue