PPU/LLVM: Fix for callback spinning undefinitly

Thanks for Nekoteki for the fix
This commit is contained in:
Vincent Lejeune 2015-07-18 00:16:04 +02:00 committed by Nekotekina
parent cdf38d15d2
commit b7d5d70a92

View File

@ -6033,6 +6033,8 @@ u32 ppu_recompiler_llvm::ExecutionEngine::ExecuteTillReturn(PPUThread * ppu_stat
switch (branch_type) {
case BranchType::Return:
execution_engine->m_tracer.Trace(Tracer::TraceType::Return, 0, 0);
if (Emu.GetCPUThreadStop() == ppu_state->PC)
ppu_state->FastStop();
terminate = true;
break;
case BranchType::FunctionCall: