CPU/Recompiler: Skip updating current_instruction_pc

This commit is contained in:
Connor McLaughlin
2021-07-20 22:41:50 +10:00
parent 21938e14c6
commit d9d41de81b
5 changed files with 5 additions and 20 deletions

View File

@ -450,7 +450,6 @@ void ExecuteRecompiler()
#endif
const u32 pc = g_state.regs.pc;
g_state.current_instruction_pc = pc;
s_single_block_asm_dispatcher(s_fast_map[pc >> 16][pc >> 2]);
}
@ -802,8 +801,10 @@ void FastCompileBlockFunction()
if (block)
{
s_single_block_asm_dispatcher(block->host_code);
return;
}
else if (g_settings.gpu_pgxp_enable)
if (g_settings.gpu_pgxp_enable)
{
if (g_settings.gpu_pgxp_cpu)
InterpretUncachedBlock<PGXPMode::CPU>();