Merge pull request #1174 from NZJenkins/stepOut-Fix

StepOut breakpoint fix
This commit is contained in:
Jonathan Li 2016-02-14 11:39:39 +00:00
commit 1718d07f94
1 changed files with 2 additions and 0 deletions

View File

@ -458,6 +458,8 @@ void DisassemblyDialog::stepOut()
{
if (!r5900Debug.isAlive() || !r5900Debug.isCpuPaused() || currentCpu == NULL)
return;
// If the current PC is on a breakpoint, the user doesn't want to do nothing.
CBreakPoints::SetSkipFirst(r5900Debug.getPC());
u32 addr = currentCpu->getStepOutAddress();
if (addr == (u32)-1)