Disabled call stack tracing when using the PPU LLVM recompiler

This commit is contained in:
S Gopal Rajagopal 2014-11-09 11:50:01 +05:30
parent 80294e1034
commit 5c468d7591
4 changed files with 8 additions and 2 deletions

View file

@ -29,6 +29,7 @@ CPUThread::CPUThread(CPUThreadType type)
, m_status(Stopped)
, m_last_syscall(0)
, m_trace_enabled(false)
, m_trace_call_stack(true)
{
}
@ -155,7 +156,7 @@ void CPUThread::SetBranch(const u32 pc, bool record_branch)
m_is_branch = true;
nPC = pc;
if(record_branch)
if(m_trace_call_stack && record_branch)
CallStackBranch(pc);
}