mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
PPU/LLVM: Call fast_stop when function returns and PC corresponds
This commit is contained in:
parent
743f5f07cb
commit
e7df81ade0
1 changed files with 3 additions and 0 deletions
|
@ -591,7 +591,10 @@ u32 ppu_recompiler_llvm::CPUHybridDecoderRecompiler::ExecuteTillReturn(PPUThread
|
|||
auto entry = ppu_state->PC;
|
||||
u32 exit = (u32)executable(ppu_state, 0);
|
||||
if (exit == ExecutionStatus::ExecutionStatusReturn)
|
||||
{
|
||||
if (Emu.GetCPUThreadStop() == ppu_state->PC) ppu_state->fast_stop();
|
||||
return ExecutionStatus::ExecutionStatusReturn;
|
||||
}
|
||||
if (exit == ExecutionStatus::ExecutionStatusPropagateException)
|
||||
return ExecutionStatus::ExecutionStatusPropagateException;
|
||||
previousInstContigousAndInterp = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue