mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 09:18:40 +12:00
- Improved call stack.
This commit is contained in:
parent
cbe4ab253c
commit
8463694d4f
3 changed files with 46 additions and 10 deletions
|
@ -145,7 +145,7 @@ void CPUThread::NextPc(u8 instr_size)
|
|||
}
|
||||
}
|
||||
|
||||
void CPUThread::SetBranch(const u64 pc)
|
||||
void CPUThread::SetBranch(const u64 pc, bool record_branch)
|
||||
{
|
||||
if(!Memory.IsGoodAddr(m_offset + pc))
|
||||
{
|
||||
|
@ -155,6 +155,9 @@ void CPUThread::SetBranch(const u64 pc)
|
|||
|
||||
m_is_branch = true;
|
||||
nPC = pc;
|
||||
|
||||
if(record_branch)
|
||||
CallStackBranch(pc);
|
||||
}
|
||||
|
||||
void CPUThread::SetPc(const u64 pc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue